Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1258184

    Richard S
    Participant

    Hello,

    I keep on getting these errors on a regular basis (it’s present on the admin dashboard) and always comes up when I install plugins. I also can’t edit the settings of some plugins which means I can’t use them the way I wanted to, and neither can I edit pages.

    Warning: preg_replace(): Compilation failed: nothing to repeat at offset 0 in /home/phrank/rdstrong.com/wp-includes/vars.php on line 35

    Warning: Cannot modify header information – headers already sent by (output started at /home/phrank/rdstrong.com/wp-includes/vars.php:35) in /home/phrank/rdstrong.com/wp-includes/pluggable.php on line 1174

    WordPress version: 4.6.1
    Cornerstone plugin: 1.3.3
    Site: http://www.rdstrong.com

    #1258275

    Rupok
    Member

    Hi there,

    It usually happens if a plugin try to execute any function that already running by another plugin or your custom code.

    However it should be gone if you disable WP_DEBUG mode.

    You can do this by opening wp-config.php and updating :

    define( 'WP_DEBUG' , true );

    to

    define('WP_DEBUG', false);

    Hope this helps.

    Cheers!

    #1258355

    Richard S
    Participant

    Unfortunately it was already set to define(‘WP_DEBUG’, false);

    I’ve also tried disabling all plugins except Cornerstone, however the problems are still there. After that I deleted the unnecessary plugins but it was still an issue.

    I’ll copy the wp-content folder and then refresh the entire installation.

    #1258549

    Nico
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1258610

    Richard S
    Participant
    This reply has been marked as private.
    #1258906

    Darshana
    Moderator

    Hi there,

    I have added the following code, and now you won’t see any errors.

    
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );
    

    However, I would strongly suggest you to update your PHP version to at least PHP 5.6.0 or above to avoid any incompatibility issues as WordPress recommends it. You may contact your hosting provider and ask them to update it for you.

    Thanks!

    #1259118

    Richard S
    Participant

    Thank you very much!

    You guys have gone above and beyond with your customer service. Anyway, I’ve updated my PHP version to the latest one.

    Thanks again for your help.

    #1259144

    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

    #1259320

    Richard S
    Participant

    Sorry to come back to this but unfortunately the problems still persist, it’s just that now the error codes don’t show. It isn’t a problem with the theme (I’ve deactivated every plugin and switched themes), which leads me to think it is an issue with the wordpress installation itself. It must have gone wrong during a wordpress upgrade.

    Obviously that isn’t your issue so I’ll try to figure out myself.

    Thanks for trying.

    #1259407

    Rahul
    Moderator

    Sure, you can go ahead!

    If you need any further assistance with the X-theme, kindly let us know. We’d be happy to assist you with anything.

    Thanks!