• Hi,

    I am trying the upgrade on my local dev with debug.log enabled.

    When upgrading to version 3.13.0, I got the following errors

    [10-Jul-2023 06:33:05 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to QM_Hook::process() must be of the type string, array given, called in [path]\wp-content\plugins\query-monitor\collectors\hooks.php on line 64 and defined in [path]\wp-content\plugins\query-monitor\classes\Hook.php:29
    Stack trace:

    0 [path]\wp-content\plugins\query-monitor\collectors\hooks.php(64): QM_Hook::process(‘muplugins_loade…’, Array, true, false)

    1 [path]\wp-content\plugins\query-monitor\classes\Collectors.php(84): QM_Collector_Hooks->process()

    2 [path]\wp-content\plugins\query-monitor\classes\Dispatcher.php(108): QM_Collectors->process()

    3 [path]\wp-content\plugins\query-monitor\dispatchers\AJAX.php(53): QM_Dispatcher->get_outputters(‘headers’)

    4 [path]\wp-includes\class-wp-hook.php(308): QM_Dispatcher_AJAX->dispatch(”)

    5 [path]\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)

    6 [path]\wp-includes in [path]\wp-content\plugins\query-monitor\classes\Hook.php on line 29

    Please guide / fix.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. Is the error persistent or did it only occur once during the upgrade?

    I think in the future I need to disable QM itself during upgrades because this kind of error is not uncommon.

    Thread Starter KoolPal

    (@koolpal007)

    Hi,

    Thanks for the prompt reply. This error was only once during the upgrade and the upgrade went through when I refreshed the plugin page.

    Hope this helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrade to 3.13.0 – Error’ is closed to new replies.