Support

Home Forums Event Espresso Premium Critical Error, Event list not showing

Critical Error, Event list not showing

Posted: September 30, 2020 at 1:54 pm


AMAMin

September 30, 2020 at 1:54 pm

Hi,

I am having an issue with the Event Espresso list not showing on my website. I have the iframe embed setup and on that page it shows a “critical error”. On my main /events/ page it says page could not be found.

Can someone please point me in the right direct to resolve this issue?

I’ve attempted to deactivate all plugins and tried switching to the twentytwenty theme, this did not resolve the issue. Also saved all permalinks again and no luck there either.


Tony

  • Support Staff

October 1, 2020 at 4:10 am

Hi there,

The error displayed on the front end is a user facing error and doesn’t give us any information on what/where the error is from.

If you check your server error logs (your host will usually have a section in your control panel to view them) can you see any errors from Event Espresso shown there?


AMAMin

October 1, 2020 at 9:03 am

I have an error like this over and over:

[15-Sep-2020 12:02:37 UTC] WordPress database error Can't create/write to file '/tmp/#sql_2bfb_0.MAI' (Errcode: 30 "Read-only file system") for query SHOW FULL COLUMNS FROMwply_optionsmade by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_cron, spawn_cron, set_transient, update_option

They all occurred on Sept 15th


Tony

  • Support Staff

October 1, 2020 at 9:33 am

You’ll need to contact your host to have them fix the above, that’s not an issue with Event Espresso but if those are from the 15th they also aren’t the errors you are looking for.

Is there nothing from today? I’ve loaded the event list on your site and see the critical error message just now, so there should be an error from around ‘now’.


AMAMin

October 1, 2020 at 1:05 pm

Unfortunately I don’t see anything on the error logs. I checked the CPanel error logs, error_log in public_html and also tried to turn on debugging log but nothing shows when I trigger the error.


Tony

  • Support Staff

October 1, 2020 at 4:01 pm

If you’re not getting anything in the logs, try enabling just WP_DEBUG, refresh the event list to get the error to display, then disable it again.

https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug


AMAMin

October 5, 2020 at 2:13 pm

I have WP_DEBUG turned on but it doesn’t display any additional error information. The /events/ page that is created by eventespresso is not working as it shows “page not found” so I presume that is why the iframe found on https://alphamidatlantic.org/upcoming-events/ doesn’t have anything to display and shows the error. I think debugging cannot display the error since it’s happening inside of an iframe.


Tony

  • Support Staff

October 5, 2020 at 2:25 pm

The iframe doesn’t matter, if WP_DEBUG was enabled the error would show. An iframe is just the page loading another page, if you visit it directly:

https://alphamidatlantic.org/?event_list=iframe

You get the same error.

Where are you setting WP_DEBUG to be false? It must be set before this line in your wp-config.php file:

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

So something like this:

https://monosnap.com/file/8DToeFUtW2jE9yECIq7X9zXq7XYOGV

That’s just a quick example from one of my test sites.

May I ask, why are you using an embedded iframe on the same site that the events are pulled from? The intention of an iframe is to display on on a separate to where they are available, meaning you can show your event list on other sites through an iframe.

With regards to this out:

https://alphamidatlantic.org/events/

That’s actually showing ‘No results found’ as there are no active/upcoming events on your site currently. Go to Event Espresso -> Events -> Templates -> Event List Pages.

Set ‘Display Expired Events’ to Yes and save. The above output should list your 2 expired events.

Or, create a test event that is upcoming (dates have not yet passed) and it should display.


AMAMin

October 7, 2020 at 7:01 am

I actually did not build the site and I’m just trying to help them get this sorted out. The DEBUG setting is in the correct place, but isn’t triggering any error…

I’ll switch them to the main events page and I guess we can ignore that error for now since I can’t find a good reason why it’s happening. But as you said the iFrame is unnecessary.


Tony

  • Support Staff

October 7, 2020 at 7:44 am

I actually did not build the site and I’m just trying to help them get this sorted out. The DEBUG setting is in the correct place, but isn’t triggering any error…

The error is being triggered, but all that is being shown is the ‘pretty’ error. Enabled WP_DEBUG tells WordPress to display the ‘full’ error.

If you’d like for me to take a quick look at this I’ll happily do so, just send all of the requested details using this form:

https://eventespresso.com/send-login-details/

I’ll switch them to the main events page and I guess we can ignore that error for now since I can’t find a good reason why it’s happening. But as you said the iFrame is unnecessary.

You also have the option of using the `[ESPRESSO_EVENTS] shortcode to output an event list directly (rather than through the iframe).

The support post ‘Critical Error, Event list not showing’ 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