Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: array_key_exists(): #2716

Closed
chambasi opened this issue Feb 25, 2015 · 3 comments
Closed

Warning: array_key_exists(): #2716

chambasi opened this issue Feb 25, 2015 · 3 comments

Comments

@chambasi
Copy link

Hello, my domain intale opencart www.macanudoshop.com and all was well until I did the modification of the logo and accompanying me this error.

Warning: array_key_exists(): The first argument should be either a string or an integer in /hermes/bosnaweb05a/b2614/ipg.macanudoshopcom/macanudo/index.php on line 158

when I open the index.php what I find is that.
if (isset($session->data['language']) && array_key_exists($session->data['language'], $languages) && $languages[$session->data['language']]['status']) {

can you help me please, my email is cchambasi@systemsthn.com

@munirasim
Copy link

It has nothing to do with Open cart and it is concerned to hosting. You may go to "Web Cache Control Tool" inside ipage hosting and enable cache to get it resolved.

@chambasi
Copy link
Author

Munirasim Hi, thanks for replying.
Active cache like you said and still got the same error,
I enter the web not have any any mistake but if I enter the administrator launches the error.

@munirasim
Copy link

The problem is that you 'session' expires either very quickly or randomly. Please contact ipage support to fix it for you. Again I confirm that it is not Opencart issue.

A quick thought is that you disable web cache and enable it for 1 hour instead of 15 mins. Just try or contact ipage support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants