• Resolved alec001

    (@alec001)


    On updating Ninja Forms from v3.4.26 to v3.4.30, I Query Monitor* has highlighted an issue with the update process. In particular, it indicates there were multiple instances of Database Errors resulting from a “DESCRIBE IF;” query – further details below in “ERROR MESSAGE reported by Query Monitor” section.
    [* Query Monitor, Version 3.6.4, By John Blackbourn]

    Environment:
    ============
    WordPress 5.5.1
    MySQL 5.7.31
    PHP 7.2.24

    ACTIONS
    =======
    Updated from Ninja Forms v3.4.26 to v3.4.30

    EXPECTED OUTCOME
    ================
    o Ninja Forms Updated
    o Forms Work
    o No error messages

    ACTUAL OUTCOME
    ==============
    o Ninja Forms Updated
    o Forms Work
    o Error messages – see below.

    ERROR MESSAGE reported by Query Monitor
    ================================================
    DESCRIBE IF;

    NF_Database_Migrations_Forms->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Forms.php:47
    NF_Abstracts_Migration->_run()
    wp-content/plugins/ninja-forms/includes/Abstracts/Migration.php:134
    NF_Database_Migrations->migrate()
    wp-content/plugins/ninja-forms/includes/Database/Migrations.php:40
    Ninja_Forms::instance()
    wp-content/plugins/ninja-forms/ninja-forms.php:451
    Ninja_Forms()
    wp-content/plugins/ninja-forms/ninja-forms.php:1207

    Plugin: ninja-forms 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

    ———
    There were 10 further errors reported, all of the same format, with the only differences being in first three lines of detail (as shown below).

    NF_Database_Migrations_FormMeta->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/FormMeta.php:39
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_Fields->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Fields.php:46
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_FieldMeta->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/FieldMeta.php:38
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_Actions->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Actions.php:42
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_ActionMeta->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/ActionMeta.php:39
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_Objects->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Objects.php:37
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_ObjectMeta->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/ObjectMeta.php:37
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_Relationships->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Relationships.php:36
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_Upgrades->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Upgrades.php:37
    NF_Abstracts_Migration->_run()

    NF_Database_Migrations_Chunks->run()
    wp-content/plugins/ninja-forms/includes/Database/Migrations/Chunks.php:30
    NF_Abstracts_Migration->_run()

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    Can you update your Ninja Forms plugin to the latest version (3.5.1) and let me know if you continue to have the same issues?
    If you are still having this issue, can you reach out to our official support channel (ninjaforms.com/contact)

Viewing 1 replies (of 1 total)
  • The topic ‘Database “DESCRIBE IF” errors’ is closed to new replies.