Title: Warning: preg_replace(): Unknown modifier &#039;/&#039;
Last modified: August 21, 2016

---

# Warning: preg_replace(): Unknown modifier '/'

 *  Resolved [RobertKn](https://wordpress.org/support/users/robertkn/)
 * (@robertkn)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/warning-preg_replace-unknown-modifier/)
 * Version 1.15 ( WordPress 3.8 )
 * Warning: preg_replace(): Unknown modifier ‘/’ in /home/.sites/144/site580/web/
   wp-content/plugins/events-made-easy/events-manager.php on line 978
 * No events shown
 * [http://wordpress.org/plugins/events-made-easy/](http://wordpress.org/plugins/events-made-easy/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/warning-preg_replace-unknown-modifier/#post-4445859)
 * See also my response to your other post.
    I can’t reproduce this error: nor in
   my webserver logfiles, nor in WP itself with debug activated.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/warning-preg_replace-unknown-modifier/#post-4445860)
 * Btw, since it seems to have something to do with attributes (in your case): can
   you provide an example of the attribute value and the possible default value 
   that triggers this error?
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/warning-preg_replace-unknown-modifier/#post-4445866)
 * Ok, I figured it out. It’s a prob in the preg_quote function I used, I forgot
   to also quote “/”.
    So fixed here: [http://plugins.trac.wordpress.org/changeset/828612](http://plugins.trac.wordpress.org/changeset/828612)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning: preg_replace(): Unknown modifier '/'’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/warning-preg_replace-unknown-modifier/#post-4445866)
 * Status: resolved