Getting this PHP error too:
[02-Feb-2018 23:36:24 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to QM_Output_Html_Assets::dependency_row() must be an instance of _WP_Dependency, boolean given, called in .../public_html/wp-content/plugins/query-monitor/output/html/assets.php on line 117 and defined in .../public_html/wp-content/plugins/query-monitor/output/html/assets.php:128
Stack trace:
#0 .../public_html/wp-content/plugins/query-monitor/output/html/assets.php(117): QM_Output_Html_Assets->dependency_row(false, Object(WP_Scripts), 'scripts')
#1 .../public_html/wp-content/plugins/query-monitor/output/html/assets.php(75): QM_Output_Html_Assets->dependency_rows(Array, Object(WP_Scripts), 'Footer', 'scripts')
#2 .../public_html/wp-content/plugins/query-monitor/dispatchers/Html.php(201): QM_Output_Html_Assets->output()
#3 .../public_html/wp-includes/cla in .../public_html/wp-content/plugins/query-monitor/output/html/assets.php on line 128
The fatal error is the cause of the JavaScript error.
Can you try deactivating all your plugins one by one to see which one is causing the error? Try also switching to one of the default themes such as Twenty Seventeen.
John
Hi John,
I am getting the same error. I know what plugin is doing it, unfortunately that is also the one that I was trying to use query monitor for. What is the best way that I can troubleshoot this to see how I can fix this.
Best,
Jagger
Actually found what I needed in here. https://github.com/johnbillion/query-monitor/issues/147
Issue was plugin was de-registering and and de-queuing style and scripts in the core of the plugin.
Best,
Jagger