Tagged: solved
My pages look fine on Google Chrome en safari, but whith internet explorer the pages give this error :
Notice: Undefined offset: 1 in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1075
The BIG problem is that google indexes all my pages with this error. so the site has no use at this moment.
https://www.google.nl/search?q=Notice%3A+Undefined+offset%3A+1+in+%2Fvar%2Fwww%2F02%2F62%2F71%2Fcelebrationevents.eu%2Fwww%2Fwp-content%2Fthemes%2Fenfold%2Fframework%2Fphp%2Ffunction-set-avia-frontend.php+on+line+1075&oq=Notice%3A+Undefined+offset%3A+1+in+%2Fvar%2Fwww%2F02%2F62%2F71%2Fcelebrationevents.eu%2Fwww%2Fwp-content%2Fthemes%2Fenfold%2Fframework%2Fphp%2Ffunction-set-avia-frontend.php+on+line+1075&aqs=chrome..69i57j69i58.1192j0j7&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8
Please advice
http://www.celebrationevents.eu
Note : All plugins disabeld and no caching
Hey CelebrationEvents!
Please deactivate the wp debug mode. Open up wp-config.php and replace:
define( 'WP_DEBUG', true );
with
define( 'WP_DEBUG', false );
Cheers!
Peter
The error is gone now in Explorer. Thanxs so far.
BUT is the error not visible for google anymore ?
Hi!
It shouldn’t, give Google a few days to re-index your site.
Best regards,
Josue
Hey guys,
I’ve got the same problem. Setting the DEBUG on false didn’t solve it for me.
Any other suggestions?
Greetings,
Lucas
I’ve fixed it. The solution:
Edit wp-config.php, add this:
error_reporting(0);
@ini_set(‘display_errors’, 0);
Greetz