• I am getting the following error in my error log:

    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 ‘ORDER BY id’ at line 1 for query SELECT * FROM ORDER BY id made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, pmprois_init, pmprois_getPMProLevels

    I have no idea where to go to fix the syntax. Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Have you asked your hosting provider for assistance?

    From a quick search, it looks like that’s from the Paid Membership Pro plugin. If that’s the case you’ll need to ask the author/vendor of that plugin for help as commercial products aren’t supported by this forum.

    Thread Starter bingtx

    (@bingtx)

    I don’t have the paid Membership Pro pligin.
    And yes I asked my hosting company for help. They don’t know what the error is from either

    I might have spoken to soon… A search for that code does reval something for PMPro Infusionsoft Integration. If you are running that, then that’s the cause.

    If I’m wrong again (and that’s pretyt likely), you need to do the standard debugging and follow these steps:

    • Disable all (yes all) plugins
    • Switch to a default theme (Twenty *)
    • Re-enable the plugins one-by-one
    • After re-enabling each plugin check to see if the same error is there

    That will show you which plugin is causing the error, and then you’ll be able ot go back to the author and ask for more support. ??

    Thread Starter bingtx

    (@bingtx)

    I think it was PMPro.
    I deleted that among several other plugins last night that I was not using, and the error stopped showing up.

    I don’t have the paid Membership Pro pligin.

    Hmm… But that was the one that was causing the problem? ??

    As long as it’s fixed, thats good.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SQL Syntax Error’ is closed to new replies.