Support » Fixing WordPress » You have an error in your SQL syntax…

  • danjde

    (@danjde)


    Hi Friends!
    Looking into Apache error logs I’ve found this warning:

    [Tue Sep 18 19:43:52.553516 2018] [:error] [pid 17508] [client 146.241.90.187:8718] WordPress errore sul database 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 'update-plugins wf-menu-badge wf-notification-count-container' title='1'><span cl' at line 1 per la query SELECT slug FROM wp_terms WHERE name='Wordfence <span class='update-plugins wf-menu-badge wf-notification-count-container' title='1'><span class='update-count wf-notification-count-value'>1</span></span>' fatta da require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wordfence::admin_menus, add_menu_page, sanitize_title, apply_filters('sanitize_title'), WP_Hook->apply_filters, call_user_func_array, EightDegree_sanitize_term_translate, referer: https://www.mysite.net/wp-admin/edit.php

    The warning seem related to the admin page, what I could do for solve this issue?

    Many many thanks!

    Davide

Viewing 3 replies - 1 through 3 (of 3 total)
  • JNashHawkins

    (@jnashhawkins)

    I think it’s possibly an issue with WordFence and its admin panel widget so I’d touch base with the WordFence support people on that first.

    Malcolm Peralty

    (@phoenixfireball)

    Yeah, I agree. Double check by disabling WordFence and make sure that error isn’t written any more and then contact WordFence support.

    danjde

    (@danjde)

    Well, I will do as you suggest and then came back here for report (if you can leave this post open) 😉

    Thanks!

    davide

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘You have an error in your SQL syntax…’ is closed to new replies.