Support » Plugin: Query Monitor » PHP Fatal Error: Call to undefined method QM_Util::shorten_fqn()

  • Hans Schuijff

    (@hanswitteprins)


    Hi,

    Today I noticed some fatal errors in my php log related to your plugin. Perhaps something that needs your attention? All plugins and wp-core are updated to the latest versions and php version is v7.2.6

    [18-Jul-2018 08:40:35 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method QM_Util::shorten_fqn() in /home/nginx/domains/tinekevanurk.nl/public/wp-content/plugins/query-monitor/classes/Backtrace.php:274
    Stack trace:
    #0 [internal function]: QM_Backtrace->filter_trace(Array)
    #1 /home/nginx/domains/tinekevanurk.nl/public/wp-content/plugins/query-monitor/classes/Backtrace.php(179): array_map(Array, Array)
    #2 /home/nginx/domains/staging.tinekevanurk.nl/public/wp-content/plugins/query-monitor/collectors/languages.php(40): QM_Backtrace->get_filtered_trace()
    #3 /home/nginx/domains/staging.tinekevanurk.nl/public/wp-includes/class-wp-hook.php(286): QM_Collector_Languages->log_file_load(false, 'default', '/home/nginx/dom...')
    #4 /home/nginx/domains/staging.tinekevanurk.nl/public/wp-includes/plugin.php(203): WP_Hook->apply_filters(false, Array)
    #5 /home/nginx/domains/staging.tinekevanurk.nl/public/wp-includes/l10n.php(556): apply_filters('override_load_t...', false, 'default', '/home/nginx/dom...')
    #6 /home/nginx/domains/staging.tinekevanurk.nl/public/wp in /home/nginx/domains/tinekevanurk.nl/public/wp-content/plugins/query-monitor/classes/Backtrace.php on line 274

    Thanks,

    Hans

    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

    Thanks for the message! Do the errors still occur or did they only appear at the point where you updated Query Monitor? I ask because QM sometimes causes this sort of error at the point where the plugin update is performed.

    Hans Schuijff

    (@hanswitteprins)

    Hi John,

    I think the answer on your question is Yes they still occur. I’m not always sure, because of the log-timestamp is so different than my local time, but when I look into my current log today then:

    The first has timestamp:
    [18-Jul-2018 08:40:35 UTC]

    and the last has timestamp:
    [18-Jul-2018 17:16:52 UTC]

    and the same error occurs in the log a total of 13 times from the first to the last.

    When I noticed the error, I deactivated the plugin, so for that reason I wouldn’t expect it right now, but the number of occurrences and the time-span between would probably suggest it to not only occur on update. As far as I remember there has been only one update yesterday or so.

    Hope this helps.

    Thanks, Hans

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal Error: Call to undefined method QM_Util::shorten_fqn()’ is closed to new replies.