Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Martin Beneš

    (@drivezone)

    I was forced to deactivate plugin, can reactivate for some testing if necessary.

    Plugin Author Themosaurus

    (@themosaurus)

    Hi @drivezone,

    Thank you for bringing this issue to our attention.

    These messages are PHP warnings, not errors. Unlike errors, warnings won’t break your website. They’re just messages aimed at developers to improve their code.

    In most case, hiding these messages will solve this issue. I suggest that you activate error logging on your website. Please keep WP_DEBUG to true and just paste the following code lines in your wp-config.php file, just before the line that says That’s all, stop editing! Happy blogging.:

    // 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', false );
    @ini_set( 'display_errors', 0 );

    More on this in the following topic: https://codex.ww.wp.xz.cn/Debugging_in_WordPress

    You will still be able to consult the warnings and errors triggered by your website but these won’t appear on your pages anymore.

    Regards,

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

The topic ‘PHP error’ is closed to new replies.