Support

Home Forums Event Espresso Premium Event Calendar not showing up after update

Event Calendar not showing up after update

Posted: June 6, 2017 at 10:45 am

Viewing 11 reply threads


mcwfc

June 6, 2017 at 10:45 am

I updated to Event Espresso 4.9.39.p on June 1. After that update the site went completely blank, the white screen of death. My developer found this online: https://github.com/eventespresso/event-espresso-core/issues/232

We followed that recommendation and changed this line

$wp_query = new EE_Event_List_Query( $atts );

to

$wp_query = new \EventEspresso\core\domain\services\wp_queries\EventListQuery( $atts );

This change brought the site back up however now the event calendar doesn’t display on this page: http://mcwfc.us/event-calendar/

It just displays the shortcode [ESPRESSO_CALENDAR]

How do I fix this?

Could you please send responses to my developer as well at melinda@melindamccawmedia.com?

Thanks!


Josh

  • Support Staff

June 6, 2017 at 12:14 pm

Hi there,

I can reply here, we are not in a position to send out additional responses via email at the moment.

Did you try reactivating the Event Espresso calendar add-on?


mcwfc

June 6, 2017 at 1:25 pm

The addon has been active the entire time however I just tried deactivating it and re-activating it. Is the code change the correct change to make or is it causing an issue?

Any other ideas?

Thanks!


Josh

  • Support Staff

June 7, 2017 at 9:17 am

The code change would have no effect on the calendar. The calendar add-on has its own query functions.

Can you check and make sure that your WordPress theme template for the calendar page makes a call to the get_header() function?


mcwfc

June 7, 2017 at 3:17 pm

I double checked and the template does call the get_header() function.


Josh

  • Support Staff

June 7, 2017 at 8:03 pm

Can you follow the troubleshooting guide here:

https://eventespresso.com/wiki/troubleshooting-checklist/


mcwfc

June 8, 2017 at 3:25 pm

I followed the guide but nothing resolved the issue.


mcwfc

June 8, 2017 at 9:48 pm

We looked in the logs and found this: [Thu Jun 8 19:00:42 2017] [hphp] [28659:7fa6c47ff700:13:000001] [] \nWarning: Invalid argument supplied for foreach() in /var/www/mcwfc.us/htdocs/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/ShortcodesManager.php on line -1

It seems there is a connectin between the EE calendar and the update. This error showed up after the upgrade along with the calendar not working.


Josh

  • Support Staff

June 9, 2017 at 8:53 am

Did the error message really say “line -1”? Have you tried removing the shortcode from the page, saving the page, then adding the shortcode back onto the page, then update the page?


mcwfc

June 9, 2017 at 12:33 pm

Unfortunately yes, the error message said line “-1”

I just tried removing the shortcode, saving the page, adding the shortcode back and saving. It still just shows the shortcode.

Thanks!


Josh

  • Support Staff

June 9, 2017 at 1:13 pm

Can you try placing the calendar shortcode on a new page? Preferably one that doesn’t load up the modal window that pops up to ask about registering?


mcwfc

June 9, 2017 at 1:55 pm

My server guy found the issue and has fixed it. The site is hosted on a digital ocean droplet using Ubuntu / Nginx / HHVM / etc. It seems it was a bug in HHVM that showed up when the plugin was upgraded.

Thanks for your help!

Viewing 11 reply threads

The support post ‘Event Calendar not showing up after update’ 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