• Resolved KTS915

    (@kts915)


    Query Monitor is reporting a database error after the activation of the update to version 3. In case it matters, I am running PHP7.

    DESCRIBE IF;
    
    ResponsiveMenu\Database\Migration->setup()
     wp-content/plugins/responsive-menu/src/app/Database/Migration.php:57
    
    Plugin: responsive-menu 
    
    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 'IF' at line 1

    https://wordpress.org/plugins/responsive-menu/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi there,

    What database type are you using?

    I’ve never seen SQL fail at the IF command before, its a pretty standard defacto command.

    Thread Starter KTS915

    (@kts915)

    I’m using mySQL on localhost Linux Mint 17.3. Apparently, it’s version 5.5.49-0ubuntu0.14.04.1

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi there,

    Does this mean you were not able to install and activate the plugin and have it working correctly?

    You mentioned Query Monitor, what is that exactly? I can’t imagine IF being an issue as as far as I’m aware its standard SQL.

    Thread Starter KTS915

    (@kts915)

    The plugin seems to be working OK, though loading the admin pages (which is where the problem is manifesting) is very slow.

    As for Query Monitor, your life as a developer is about to get a lot easier! It’s a plugin (https://wordpress.org/plugins/query-monitor/) made a former lead WP developer and it’s far more helpful than simply turning on debug.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey Kts,

    Love it! Thanks a lot for providing that link it certainly looks promising.

    My only question is – why had I not heard about it before!

    Thanks again!

    Thread Starter KTS915

    (@kts915)

    I’ve now tried installing v.3.0.1 on a test site with my host (also running PHP7), and QM reports the same database error. So I don’t think it’s just something at my end.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey there,

    Nope don’t worry I’ve fixed it for the 3.0.2 release so when thats out all should be sorted.

    Once it’s out if you could confirm that would be great (should be some time tonight).

    All the best

    Thread Starter KTS915

    (@kts915)

    Oh, great, thanks! I will certainly report back after testing it.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey,

    I have update the beta version which can be found on the Developer tab on this page if you want to check out if its fixed in advance.

    I have a couple more issues to fix before releasing the updated version so its likely to be tommorrow that it will be released.

    All the best

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi KT,

    Squash that last message – it has been released so if you want to check it out and let me know please do so.

    All the best

    Thread Starter KTS915

    (@kts915)

    I’ve now tested the update and it’s working fine. Thank you!

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Great news and thanks for letting me know!

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