Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Franky

    (@liedekef)

    This means EME didn’t find any events to show, nothing more. Nothing else I can say based on this message …

    Thread Starter mpek

    (@mpek)

    Okay, thank you very much!
    I fixed that problem. After a change in event description the event status was changed to “draft” and no one from us recognized it after that change. I’m sorry, that I did not see that, but I couldn’t imagine that this could happen if you simpley change the description text.

    One other thing while searching for the error above, is this error message i get:

    [12-May-2017 11:17:48 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY event_start_date ASC, event_start_time ASC' at line 2 f??r Abfrage SELECT * FROM DaS_eme_events
           WHERE event_id IN () ORDER BY event_start_date ASC, event_start_time ASC von do_action('wp_ajax_wpseo_filter_shortcodes'), WP_Hook->do_action, WP_Hook->apply_filters, WPSEO_Shortcode_Filter->do_filter, do_shortcode, preg_replace_callback, do_shortcode_tag, eme_display_single_event_shortcode, eme_display_single_event, eme_replace_placeholders, eme_add_booking_form, eme_add_multibooking_form, eme_get_event_arr
    
    • This reply was modified 7 years, 10 months ago by mpek.
    Plugin Author Franky

    (@liedekef)

    EME doesn’t change the status to draft on its own (tested it here again).
    But your sql here shows some weird things:
    – WHERE event_id IN () ==> empty in-statement
    – von do_action ==> some filtering is being done here

    The “WHERE event_id IN ()” is (according to me) only done in the multibooking form, but normally I do check for an empty variable there … see function eme_get_event_arr in eme_events.php. I made the check stronger there:
    https://plugins.trac.www.ads-software.com/changeset/1655976/

    Thread Starter mpek

    (@mpek)

    This topic is resolved! Thank you!
    I was playing around with shortcodes to build an all events page and couldn’t see at first that this database error was due to wrong usage of shortcode parameters.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Events page suddenly don’t show events’ is closed to new replies.