Events Manager creates error Warning: preg_match() on new posts
-
Hi guys,
I’m receiving the following error whenever I publish a 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 218
Warning: preg_match(): Compilation failed: nothing to repeat at offset 1 in /home/totalgee/public_html/wp-includes/class-wp.php on line 219
The error message disappears whenever I flush the site’s 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 film 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.
I have tried debugged using the Rewrite Rules plugin, and it states the following rewrite rule is ‘missing’:
Rule “release-dates/(\d{4}-\d{2}-\d{2})$”
Rewrite “index.php?post_type=event&calendar_day=$matches[1]”I’d really appreciate some help to sort this out as I’d rather continue using the plugin – it’s extremely helpful to create a calendar of release dates for both myself and my visitors.
The page I need help with: [log in to see the link]
- The topic ‘Events Manager creates error Warning: preg_match() on new posts’ is closed to new replies.