Support

Home Forums Event Espresso Premium Event Espresso 4 breaks whenever I save an event. urgent…

Event Espresso 4 breaks whenever I save an event. urgent…

Posted: August 14, 2014 at 12:33 pm


ty bonlando

August 14, 2014 at 12:33 pm

I am getting this error everytime I save an event. It worked perfectly yesterday, the only thing I could think of was that I was experimenting with importing events. now I get this error each time I save an event:

Warning: Invalid argument supplied for foreach() in /wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/messages/espresso_events_Messages_Hooks_Extend.class.php on line 97

Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/messages/espresso_events_Messages_Hooks_Extend.class.php:97) in /wp-includes/pluggable.php on line 1121

The events actually do save, however I have to change the address back to /wp-admin from /wp-admin/post.php to get back to the dash board.


ty bonlando

August 14, 2014 at 12:34 pm

Wordpress and EE4 are all up to date.


Lorenzo Orlando Caum

  • Support Staff

August 14, 2014 at 1:07 pm

Hello,

Those warnings do not look familiar. Could you login to your WordPress admin and go to Messages and then Settings.

Then toggle the system off and then back on.

Also, could you turn debugging off on your site by adding this macro to your wp-config.php file (should replace any existing debugging):

define('WP_DEBUG', false);
  if (WP_DEBUG) {
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
}


Lorenzo


ty bonlando

August 14, 2014 at 1:14 pm

That did it. Something happened where all of my default messages were deleted, and the message selector on the event page was empty. Very strange.

Thanks!


ty bonlando

August 14, 2014 at 1:15 pm

of course now all my modified templates have reverted. sigh…


Lorenzo Orlando Caum

  • Support Staff

August 14, 2014 at 3:04 pm

Turning it off and on refreshes the messages system. It doesn’t delete the templates and recreate them.

Were custom templates created for your events? Those would be under the custom templates tab.


Lorenzo

The support post ‘Event Espresso 4 breaks whenever I save an event. urgent…’ 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