Home>Support>How to solve warning and notice showing up on website?

How to solve warning and notice showing up on website?

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 1 year, 1 month ago Andrew Misplon
    Hi, I Work Here

    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 warningsdefine( '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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More