Error code “Warning: preg_match()” when publishing posts
-
Hi guys,
I wonder if anyone can help…
I’m receiving the following error whenever I publish any post on my site:
Warning: preg_match(): Compilation failed: nothing to repeat at offset 1 in /home/totalgee/public_html/wp-includes/class-wp.php on line 231
Warning: preg_match(): Compilation failed: nothing to repeat at offset 1 in /home/totalgee/public_html/wp-includes/class-wp.php on line 232
It seems to be related to the Events Manager plugin, but I’ve been using it since 2014 without any issues. Suddenly, it’s started doing this – perhaps after a WP update though I can’t be sure. The error can be removed by flushing permalinks, but reoccurs EVERY time I publish a post… since I run a news site, this occurs often and the error has even been scraped by Google News as an excerpt. Not great. Weirdly, it doesn’t seem to happen when I publish Events (which I’m using to track release dates).
I’ve tried cleaning up and optimizing my DB and have even tried completely removing and reinstalling Events Manager… but the errors persist. They only stop when EM is removed.
Any help would be hugely appreciated – I’d love to continue using Events Manager as it really streamlines one of the more laborious processes of running my site.
Cheers
The topic ‘Error code “Warning: preg_match()” when publishing posts’ is closed to new replies.