• Resolved Grzegorz.Janoszka

    (@grzegorzjanoszka)


    The newest WP and PHP 7.0, every admin page view I get in logs:

    PHP message: PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 1 in /DIRECTORY/wp-content/plugins/query-monitor/collectors/rewrites.php on line 45

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

    (@johnbillion)

    WordPress Core Developer

    Thanks, I’ll take a look.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Hey Grzegorz,

    This looks like it might be a problem with one of the rewrite rules on your site. Does the problem persist if you deactivate all your other plugins and switch to one of the default themes?

    Can you install the Rewrite Rules Inspector plugin and see if there are some broken rewrite rules on the site?

    John

    Thread Starter Grzegorz.Janoszka

    (@grzegorzjanoszka)

    John,
    Well, the plugin didn’t tell me much, everything looked pretty correct. But I went to /options-permalink.php and after submitting the data over there, the error was gone.

    So sorry for false alarm, it looks it was not caused by your plugin.
    Regards,

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for letting me know!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘preg_match(): Compilation failed: nothing to repeat at offset 1’ is closed to new replies.