• Unfortunately to this date cannot update EM due to an issue of the pagination breaking after 5.9.5. The issue is:
    – the list below is on the homepage, which is set to Static page

    [events_list limit="15" pagination="1" tag="home" scope="1-months"]

    – once I use the pagination and go to /?pno=2 it turns the homepage in the list of recent articles somehow (same with and without ajax=”1″)

    Any suggestions for this scenario? Tried turning off all other plugins. Still the same.

    • This topic was modified 4 years, 10 months ago by Thijsonline.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    at the moment we are not able to experience this issue with the latest EM version 5.9.7.1 – have you tried this version? also, you can try to install WP Safe Mode to narrow down the problem and determine if there’s any possible conflict with other theme or plugin.

    https://www.ads-software.com/plugins/wp-safe-mode/

    Thread Starter Thijsonline

    (@thijsonline)

    Unfortunately had to delete the WP Safe Mode plugin as it threw a redirect error (filled in my IP address in the plugin, perhaps I shouldn’t have).

    Hello,

    If Wp Safemode doesn’t work on your Website. I would suggest trying the manual method.

    1. Disable all other plugins
    2. Change theme to any twenty-series theme
    3. Activate only Events Manager and (Events Manager Pro in case you have)
    4. Test the issue again
    5. If it works as it should, Then activate plugin one by one until you find the cause.
    6. Do the same with theme if everything works when all plugins are enabled.

    Thread Starter Thijsonline

    (@thijsonline)

    Ok thank you. One thing I’ve noticed by using Query Monitor after updating to 5.9.7.1 is that it gives a warning about the below custom filter I have in place. Specifically the .wp-postmeta. part of it (undefined constant – assumed ‘wp_postmeta’). Is the below filter incorrectly formatted by any chance?

    add_filter( 'em_locations_build_sql_conditions', 'my_em_locations_events_build_sql_conditions',1,2);
    function my_em_locations_events_build_sql_conditions($conditions, $args){
        global $wpdb;
        if( !empty($args['custom']) ){
            $sql = $wpdb->prepare("SELECT post_id FROM ".wp_postmeta." WHERE meta_value=%s AND meta_key='custom'", $args['custom']);
            $conditions['custom'] = "wp_em_locations.post_id IN ($sql)";
        }
        return $conditions;
    }
    Thread Starter Thijsonline

    (@thijsonline)

    Have now gone through 1 – 6 below and the problem persists unfortunately.

    1. Disable all other plugins
    2. Change theme to any twenty-series theme
    3. Activate only Events Manager and (Events Manager Pro in case you have)
    4. Test the issue again
    5. If it works as it should, Then activate plugin one by one until you find the cause.
    6. Do the same with theme if everything works when all plugins are enabled.

    Thread Starter Thijsonline

    (@thijsonline)

    Hello,

    The code/warning that you see ” .wp-postmeta. part of it (undefined constant – assumed ‘wp_postmeta’)” is because your initial code might “wp-postmeta” and the table used in database is “wp_postmeta”. based from you snippet, It seems like it’s been changed already.

    For the issue about the static page issue, I’ve been testing it my site and I can’t replicate it. Do you perhaps have a link that We could check.

    Thread Starter Thijsonline

    (@thijsonline)

    Hi @timrv you can find the example on site[dot]wattedoenin[dot]nl

    • This reply was modified 4 years, 10 months ago by Thijsonline.
    Thread Starter Thijsonline

    (@thijsonline)

    Hi @timrv any chance you can see something wrong with the page configuration?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    we already let the Dev’s know about this. should get fixed soon

    Thread Starter Thijsonline

    (@thijsonline)

    Great! Thanks for letting me know!

    Thread Starter Thijsonline

    (@thijsonline)

    Hi @angelo_nwl by any chance do you have an indication of when this will be fixed?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Sorry, no eta yet.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘5.9.6 breaks static homepage’ is closed to new replies.