This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

How to solve warning and notice showing up on website?

Open 1 reply generalquestion
2 years ago · Last reply by Andrew Misplon 2 years ago

Warning: include(.:/opt/plesk/php/7.4/share/pear): failed to open stream: No such file or directory in /var/www/vhosts/mshriy.com/httpdocs/wp-includes/class-wp.php on line 786

Warning: include(.:/opt/plesk/php/7.4/share/pear): failed to open stream: No such file or directory in /var/www/vhosts/mshriy.com/httpdocs/wp-includes/class-wp.php on line 786

Warning: include(): Failed opening ‘.:/opt/plesk/php/7.4/share/pear’ for inclusion (include_path=’.:/opt/plesk/php/7.4/share/pear’) in /var/www/vhosts/mshriy.com/httpdocs/wp-includes/class-wp.php on line 786

Notice: Trying to access array offset on value of type null in /var/www/vhosts/mshriy.com/httpdocs/wp-content/plugins/fusion-builder/shortcodes/fusion-text.php on line 67

Deprecated: Function wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in /var/www/vhosts/mshriy.com/httpdocs/wp-includes/functions.php on line 5413

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 2 years, 7 months ago

    Hi Ishita

    Thanks for posting your question.

    It’s best to suppress notices, warnings and errors on a live site. If you have access to your server via FTP or your Hosting File Manager, you can do that as follows:

    – Access your WordPress root folder.
    – Download wp-config.php to your desktop.
    – Use a text editor to edit the file.
    – Add the following below the WP_DEBUG line:

    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    The above is sourced from the following page: https://wordpress.org/documentation/article/debugging-in-wordpress/#wp_debug. I hope at helps.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread