Support

Home Forums Event Espresso Premium Warning: Invalid argument supplied for foreach()

Warning: Invalid argument supplied for foreach()

Posted: August 24, 2015 at 4:16 am

Viewing 1 reply thread


Matt

August 24, 2015 at 4:16 am

Warning: Invalid argument supplied for foreach() in /srv/users/serverpilot/apps/bodymindworkers/public/wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php on line 251

Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/bodymindworkers/public/wp-content/plugins/event-espresso-core-reg/core/EE_Config.core.php:251) in /srv/users/serverpilot/apps/bodymindworkers/public/wp-includes/pluggable.php on line 1207

We are using the latest version of ee4. I have just deleted the plugin and totally re-uploaded. It has not fixed. Please advise. We migrated server and are currently sorting it via hosts file tweak before we change the DNS.


Dean

August 24, 2015 at 6:24 am

Hi Matt,

It looks like it is trying to find the ee_config option in the database, but failing to.

When your site was migrated, was the entire database moved as well?

I would check your original database (specifically the options table) and compare it to your current and see if ee_config is in the options table.

Viewing 1 reply thread

The support post ‘Warning: Invalid argument supplied for foreach()’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso