• Resolved Nico Marcuz

    (@nick7766)


    Hi John, after updating to the new version of QM we found the following fatal error in our php errorlog.

    Can you help us to fix this? thnx . Nick

    ===

    [12-Nov-2023 12:20:47 UTC] PHP Fatal error: Uncaught Error: Class ‘QM_Component’ not found in /kunden/xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/classes/Util.php:332
    Stack trace: 0 /kunden/xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/classes/Backtrace.php(283): QM_Util::get_file_component() 1 /kunden/xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/classes/Backtrace.php(214): QM_Backtrace::get_frame_component() 2 /kunden/xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/collectors/php_errors.php(274): QM_Backtrace->get_component() 3 [internal function]: QM_Collector_PHP_Errors->error_handler() 4 /kunden/xxx/webseiten/hello-world.net/wordpress/wp-admin/includes/class-wp-filesystem-direct.php(558): mkdir() 5 /kunden/xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/wp-rocket/inc/functions/files.php(1162): WP_Filesystem_Direct->mkdir() 6 /kunden/469469_76275/webseiten/hello-world.net in /kunden/xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/classes/Util.php on line 332

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

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

    (@johnbillion)

    WordPress Core Developer

    Did the error appear only once during the plugin update? That’s caused by some code in QM running before the update and some after the update.

    I’ve made some changes recently to reduce the chance of that happening, but if you’re updating from an older version it can still happen.

    Thread Starter Nico Marcuz

    (@nick7766)

    Hi John,

    yes, the error only occurred when updating the plugin to the current version.

    We have updated from the last current version to the most current version.

    Maybe this will help you a little further in troubleshooting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Class ‘QM_Component’ not found’ is closed to new replies.