Support » Plugin: Events Manager » PHP error: Compilation Failed

  • Resolved jessausource



    We got this error everywhere in the site except the homepage whenever the plugin is activated.

    Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1

    Can you please check and provide fix for this?

    We can’t deactivate this as we’re using this plugin currently.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having this error too. It goes away if the plugin is deactivated. Things still seem to work though. It shows onscreen if debugging is off, but can be hidden if I turn debugging on and debug display off as follows:

    define('WP_DEBUG',         true);  // Turn debugging ON
    define('WP_DEBUG_DISPLAY', false); // Turn forced display OFF
    define('WP_DEBUG_LOG',     true);  // Turn logging to wp-content/debug.log ON
    Thread Starter jessausource


    I’ve resolved this by resaving the permalinks in Events > Settings > Pages > Permalink Slugs. This works for me.

    I tried that as well based on what I saw on another thread, but it did not work. Did you specifically do it while the plugin was inactive? I’m not sure if I tried it then.

    Thread Starter jessausource


    I did this while the plugin is enabled as the settings will not be available if the plugin is inactive.

    Ahhh, thank you. Sorry I skimmed the first time and thought you went to Settings > Permalinks. My bad.

    This worked perfectly. Thank you so much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP error: Compilation Failed’ is closed to new replies.