• I am running WordPress on a LEMP Server with the following settings:

    Hardware: Raspberry Pi 4
    OS: Ubuntu Server 22.04
    Wordpress Version: 6.4.3
    Web Server: Nginx Mainline 1.25.4
    PHP Version: 8.1.2-1ubuntu2.14

    I am getting the following error in my WordPress emails:

    Howdy!
    
    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with one of your plugins, Query Monitor.
    
    First, visit your website (https://oddcake.net/) and check for any visible issues. Next, visit the page where the error was caught (https://oddcake.net/wp-admin/ms-admin.php) and check for any visible issues.
    
    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
    
    https://oddcake.net/wp-login.php?action=enter_recovery_mode&rm_token=ITy57XGR337O1tCKPflhD4&rm_key=pqcV3iNpFDXHUgMNKzAtXG
    
    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
    
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.4.3
    Active theme: MintWP (version 1.0.3)
    Current plugin: Query Monitor (version 3.15.0)
    PHP version 8.1.2-1ubuntu2.14
    
    
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 332 of the file /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Util.php. Error message: Uncaught Error: Class "QM_Component" not found in /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Util.php:332
    Stack trace:
    #0 /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Backtrace.php(283): QM_Util::get_file_component()
    #1 /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Backtrace.php(214): QM_Backtrace::get_frame_component()
    #2 /var/www/oddcake.net/wp-content/plugins/query-monitor/collectors/php_errors.php(274): QM_Backtrace->get_component()
    #3 /var/www/oddcake.net/wp-content/plugins/query-monitor/vendor/composer/ClassLoader.php(576): QM_Collector_PHP_Errors->error_handler()
    #4 /var/www/oddcake.net/wp-content/plugins/query-monitor/vendor/composer/ClassLoader.php(576): include('...')
    #5 /var/www/oddcake.net/wp-content/plugins/query-monitor/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
    #6 /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Util.php(332): Composer\Autoload\ClassLoader->loadClass()
    #7 /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Backtrace.php(283): QM_Util::get_file_component()
    #8 /var/www/oddcake.net/wp-content/plugins/query-monitor/classes/Backtrace.php(214): QM_Backtrace::get_frame_component()
    #9 /var/www/oddcake.net/wp-content/plugins/query-monitor/collectors/transients.php(91): QM_Backtrace->get_component()
    #10 /var/www/oddcake.net/wp-content/plugins/query-monitor/collectors/transients.php(49): QM_Collector_Transients->setted_transient()
    #11 /var/www/oddcake.net/wp-includes/class-wp-hook.php(324): QM_Collector_Transients->action_setted_site_transient()
    #12 /var/www/oddcake.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #13 /var/www/oddcake.net/wp-includes/plugin.php(517): WP_Hook->do_action()
    #14 /var/www/oddcake.net/wp-includes/option.php(2421): do_action()
    #15 /var/www/oddcake.net/wp-content/plugins/bulk-image-alt-text-with-yoast/vendor/freemius/includes/class-fs-lock.php(77): set_site_transient()
    #16 /var/www/oddcake.net/wp-content/plugins/bulk-image-alt-text-with-yoast/vendor/freemius/includes/class-freemius.php(1377): FS_Lock->lock()
    #17 /var/www/oddcake.net/wp-includes/class-wp-hook.php(324): Freemius->_run_garbage_collector()
    #18 /var/www/oddcake.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #19 /var/www/oddcake.net/wp-includes/plugin.php(517): WP_Hook->do_action()
    #20 /var/www/oddcake.net/wp-settings.php(506): do_action()
    #21 /var/www/oddcake.net/wp-config.php(213): require_once('...')
    #22 /var/www/oddcake.net/wp-load.php(50): require_once('...')
    #23 /var/www/oddcake.net/wp-admin/admin.php(34): require_once('...')
    #24 /var/www/oddcake.net/wp-admin/ms-admin.php(10): require_once('...')
    #25 {main}
     thrown

    Can you please help me fix this or put the fix in an update and release it? Let me know when some actions have been taken. Thanks!

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

  • The topic ‘Error message: Uncaught Error: Class “QM_Component” not found in…’ is closed to new replies.