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).

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 weeks, 5 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[gravityform id=80 title=false description=false ajax=false]
<div class='gf_browser_unknown gform_wrapper' id='gform_wrapper_80' ><form method='post' enctype='multipart/form-data' id='gform_80' action='/topic/critical-error-event-list-not-showing/'> <div class='gform_body'><ul id='gform_fields_80' class='gform_fields top_label form_sublabel_below description_below'><li id='field_80_1' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_1' >First name<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_text'><input name='input_1' id='input_80_1' type='text' value='' class='medium' aria-required="true" aria-invalid="false" /></div></li><li id='field_80_2' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_2' >Email address<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_email'> <input name='input_2' id='input_80_2' type='email' value='' class='medium' aria-required="true" aria-invalid="false" /> </div></li><li id='field_80_3' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' >GDPR Agreement<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_80_3'><li class='gchoice_80_3_1'> <input name='input_3.1' type='checkbox' value='I consent to have this website store my submitted information so they can respond to my inquiry.' id='choice_80_3_1' /> <label for='choice_80_3_1' id='label_80_3_1'>I consent to have this website store my submitted information so they can respond to my inquiry.</label> </li></ul></div></li><li id='field_80_4' class='gfield gform_validation_container field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_4' >Email</label><div class='ginput_container'><input name='input_4' id='input_80_4' type='text' value='' autocomplete='off'/></div><div class='gfield_description' id='gfield_description_80_4'>This field is for validation purposes and should be left unchanged.</div></li> </ul></div> <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_80' class='gform_button button' value='Download Now' onclick='if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} ' onkeypress='if( event.keyCode == 13 ){ if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} jQuery("#gform_80").trigger("submit",[true]); }' /> <input type='hidden' class='gform_hidden' name='is_submit_80' value='1' /> <input type='hidden' class='gform_hidden' name='gform_submit' value='80' /> <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' /> <input type='hidden' class='gform_hidden' name='state_80' value='WyJbXSIsIjBiNjdjZjkyMDUzOWUxOWY5Y2NiZjIwMzM4YjA1Mjk4Il0=' /> <input type='hidden' class='gform_hidden' name='gform_target_page_number_80' id='gform_target_page_number_80' value='0' /> <input type='hidden' class='gform_hidden' name='gform_source_page_number_80' id='gform_source_page_number_80' value='1' /> <input type='hidden' name='gform_field_values' value='' /> </div> </form> </div><script type='text/javascript'> jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 80) {} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [80, 1]) } ); </script>
[i]
[i]