• Resolved nikkers

    (@nikkers)


    These php errors have started showing and unsure how address them. Are these php errors from Query Monitor itself? as it says Plugin: error-log-monitor-premium and Plugin: query-monitor.

    Warning	preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1	
    wp-includes/class-wp.php:239
    ElmPro_ErrorHandler->handleError()
    wp-content/plugins/error-log-monitor-premium/ElmPro/ErrorHandler.php:86
    ElmPro_ErrorHandler->primaryErrorHandler()
    wp-content/plugins/error-log-monitor-premium/ElmPro/ErrorHandler.php:86
    preg_match()
    wp-includes/class-wp.php:239
    WP->parse_request()
    wp-includes/class-wp.php:813
    WP->main()
    wp-includes/functions.php:1336
    wp()
    wp-blog-header.php:16
    2 Plugin: error-log-monitor-premium

    Warning	preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1	
    wp-content/plugins/query-monitor/collectors/request.php:312
    ElmPro_ErrorHandler->handleError()
    wp-content/plugins/error-log-monitor-premium/ElmPro/ErrorHandler.php:86
    ElmPro_ErrorHandler->primaryErrorHandler()
    wp-content/plugins/error-log-monitor-premium/ElmPro/ErrorHandler.php:86
    preg_match()
    wp-content/plugins/query-monitor/collectors/request.php:312
    do_action('shutdown')
    wp-includes/load.php:1270
    shutdown_action_hook()
    wp-includes/load.php:1270
    2 Plugin: query-monitor
    • This topic was modified 3 months, 1 week ago by nikkers. Reason: more complete info
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    What’s happening here is your site has a malformed regular expression in place in one of its URL rewrite rules. This malformed rule gets passed to the preg_match() function in WordPress and triggers a PHP error. The error is reported by the error-log-monitor-premium plugin (this plugin isn’t related to Query Monitor).

    In addition, this malformed rule gets passed to the preg_match() function inside Query Monitor (because it also checks for matching rewrite rules), triggering the same error with a different stack trace.

    You’ll need to investigate why your site has a malformed rewrite rule. Try starting with the Rewrite Rules Inspector plugin. You might need to try deactivating your other plugins one by one, and to flush the permalinks by re-saving them from the Settings -> Permalinks screen each time.

    Good luck!

    Thread Starter nikkers

    (@nikkers)

    Brilliant. That pointed exactly to how resolve – the logfile contained a page ID leading to where focus on. Very helpful plugin thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.