Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix SQL syntax /*!SElEcT*/

Discussion in 'Misc WordPress Requests' started by darylpittman, Dec 11, 2017.

  1. darylpittman


    SQL syntax /*!SElEcT*/, by darylpittman

    I am receiving repeated single, 16-page SQL syntax errors on my php_errorlog:

    WordPress database error 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 ”,’_wp_session_-1′ AND (/*!SElEcT*/ 8041 FRoM(/*!selEcT*/ COUNT(*),CONCAt((/*!Se’ at line 1 for query DELETE FROM zing_options WHERE option_name IN

    After IN the code repeats _wp_session_expires_… (with something which looks like crypto or salts, different each time for 16 pages.)

    the error ends with:

    made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, wp_session_cleanup

    Is there a way to determine where to start poking for some solution?

    SQL syntax /*!SElEcT*/

Share This Page

Monarch Social Sharing Plugin