code showing in my design

Hello,

I keep getting weird code showing up on the my site when I activate some of the plugins. Can you help me get rid of this? tnx

Steeve

  • Nastia

    Hello steeve , I hope you are doing well today!

    I can't replicate the same on my installation. It looks like there is conflict wth another plugin or a theme on your site.

    Would you please run a quick test so we could find what is causing it?

    Switch to a default WordPress theme , if the warnings are gone then it is a conflict with a plugin, If not deactivate all other plugins and test again. If everything is well, activate one plugin at a time to find the one that causes this.

    Follow the flowchart from our Getting Support manual:
    https://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    Let us know how it went!

    Cheers,
    Nastia

  • Sajid

    Hello steeve,
    Hope you are doing good today :slight_smile:

    Since those errors and warnings are coming from a third party theme which we don't have access too so can not fix these. Please report this issue to theme developer so they could patch it up.

    However, what we can do here is (and its recommended to do on live sites) hide these warning messages from screen by editing the wp-config.php file.

    Open up wp-config.php file, find the following (don't forget to take backup of this file before making any changes):
    define( 'WP_DEBUG', true );

    Or (if above don't exist):
    define( 'WP_DEBUG', false );

    ...and replace it with following code:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', true );
    @ini_set( 'display_errors', 0 );

    Save changes and upload back to your server.

    Take care and have a nice day :slight_smile:

    Best Regards,
    Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.