cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: Cannot use a scalar value as an array in... SessionManager.php on line 492

Warning: Cannot use a scalar value as an array in... SessionManager.php on line 492

Hello, now, I don't know why, but I see this error in Magento 2.3.5

There has been an error processing your request

Warning: Cannot use a scalar value as an array in /home/web/domains/web.com/public_html/vendor/magento/framework/Session/SessionManager.php on line 492
1 REPLY 1

Re: Warning: Cannot use a scalar value as an array in... SessionManager.php on line 492

Hello @Espamoto,

Please check this link: 

https://magento.stackexchange.com/questions/318895/warning-cannot-use-a-scalar-value-as-an-array-in-...

Hope this helps you. 

Note: Do not make any changes in the core file. Please override it or create plugin for your changes.

 

If it helps you, please accept it as a solution and give kudos!