Ninja Forms DB migration fatal error
-
Hi, I’m using Ninja Forms 3.13.1 without any add-ons.
A NF migration function runs everyday which ends on a fatal error. It’s trying to query a table called “IF”, a SQL keyword.
PHP Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, false given in /home/eastside/public_html/wp-includes/class-wpdb.php:3863
Stack trace:
#0 /home/eastside/public_html/wp-includes/class-wpdb.php(3863): mysqli_num_fields(false)
#1 /home/eastside/public_html/wp-includes/class-wpdb.php(786): wpdb->load_col_info()
#2 /home/eastside/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(230): wpdb->__get('col_info')
#3 /home/eastside/public_html/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(216): W3TC\DbCache_WpdbInjection_QueryCaching->query('DESCRIBE IF;')
#4 /home/eastside/public_html/wp-includes/class-wpdb.php(3146): W3TC\DbCache_WpdbNew->query('DESCRIBE IF;')
#5 /home/eastside/public_html/wp-admin/includes/upgrade.php(2995): wpdb->get_results('DESCRIBE IF;')
#6 /home/eastside/public_html/wp-content/plugins/ninja-forms/includes/Database/Migrations/Forms.php(47): dbDelta(Array)
#7 /home/eastside/public_html/wp-content/plugins/ninja-forms/includes/Abstracts/Migration.php(134): NF_Database_Migrations_Forms->run()
#8 /home/eastside/public_html/wp-content/plugins/ninja-forms/includes/Database/Migrations.php(40): NF_Abstracts_Migration->_run()
#9 /home/eastside/public_html/wp-content/plugins/ninja-forms/ninja-forms.php(435): NF_Database_Migrations->migrate()
#10 /home/eastside/public_html/wp-content/plugins/ninja-forms/ninja-forms.php(1212): Ninja_Forms::instance()
#11 /home/eastside/public_html/wp-content/plugins/ninja-forms/ninja-forms.php(1215): Ninja_Forms()
#12 /home/eastside/public_html/wp-settings.php(545): include_once('/home/eastside/...')
#13 /home/eastside/public_html/wp-config.php(96): require_once('/home/eastside/...')
#14 /home/eastside/public_html/wp-load.php(50): require_once('/home/eastside/...')
#15 /home/eastside/public_html/wp-blog-header.php(13): require_once('/home/eastside/...')
#16 /home/eastside/public_html/index.php(17): require('/home/eastside/...')
#17 {main}
thrown in /home/eastside/public_html/wp-includes/class-wpdb.php on line 3863The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.