• folletti

    (@folletti)


    Hi,
    since I updated from 4.4.3 to 4.4.6, the plugin not “auto post”.
    Please check thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • DFC005

    (@dfc005)

    I believe it’s related to this error: https://www.ads-software.com/support/topic/badly-formulated-sql-command-in-cron-job/

    We have the same issue and are awaiting a fix.

    lacavernamx

    (@lacavernamx)

    the same problem

    lacavernamx

    (@lacavernamx)

    I have the solution, in the file nxs_functions_engine.php in the line 151, it’s the problem:

    $ttr = "FROM ". $wpdb->prefix . "nxs_query WHERE timetorun<'".date_i18n('Y-m-d H:i:s')."'"; $quPostsCnt = $wpdb->get_var($wpdb->prepare("SELECT COUNT(id) %s", $ttr));*

    change the code to this:

    $ttr = $wpdb->prefix . "nxs_query WHERE timetorun < %s"; $current_time = date_i18n('Y-m-d H:i:s'); $query = $wpdb->prepare("SELECT COUNT(id) FROM $ttr", $current_time);
    $quPostsCnt = $wpdb->get_var($query);

    If you have problems with the query/timeline and log/history, the problems are other queries, cheers!

    Thread Starter folletti

    (@folletti)

    For developer of Snap NextScripts
    But is not possibile resolve with an update with resolve this bug?

    thanks for support!

    Great, @lacavernamx.

    Thank you for the tip!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.