I am having the issue in wp site - wordpress

I am having the following issue in wp site.
Warning: include(/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include(): Failed opening '/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include_once(/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: include_once(): Failed opening '/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: Cannot modify header information - headers already sent by (output started at /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php:65) in /home/ngohost/public_html/artfinteriors.com/wp-includes/pluggable.php on line 1179

It seems that you are using WP Super Cache plugin and this is causing the errors. The first step for debugging is to try to deactivate / uninstall the plugin and see if the error still appear.

Related

Failed to open stream but this time its class-wp-rewrite.php

Warning:
require(/home/tbc5pvfk36ns/public_html/wp-includes/class-wp-rewrite.php):
failed to open stream: No such file or directory in
/home/tbc5pvfk36ns/public_html/wp-settings.php on line 202
Fatal error: require(): Failed opening required
'/home/tbc5pvfk36ns/public_html/wp-includes/class-wp-rewrite.php'
(include_path='.:/opt/alt/php72/usr/share/pear') in
/home/tbc5pvfk36ns/public_html/wp-settings.php on line 202 There has
been a critical error on this website.
It was a fresh godaddy wordpress install, it was working fine until this happened out of nowhere.

Wordpress Hosting Import Error Conflit Plugin Dokan

I went to import the site from another Wordpress hosting, and it is giving this error. The files are in the folder even though they are not. And every part of the plugin doesn't work.
Everything seems to work except this plugin. But in the other hosting without touching anything it works normally.
me/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/woocommerce/includes/libraries/class-emogrifier.php): failed to open stream: No such file or directory in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/admin/announcement-background-process.php on line 14
Warning: include_once(): Failed opening '/home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/woocommerce/includes/libraries/class-emogrifier.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/admin/announcement-background-process.php on line 14
Warning: include_once(/home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/modules/rma): failed to open stream: No such file or directory in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/dokan-pro.php on line 286
Warning: include_once(): Failed opening '/home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/modules/rma' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/dokan-pro.php on line 286

Can't perform require once in WordPress without displaying the path on the page

Followng accepted answers given here I used the following to call some PHP code on my home page:
require_once (bloginfo('template_directory') . '/home_bloc_horaires.php');
It works, but it also actually displays the path of my template directory on my page! Any way to avoid this?
EDIT:
Tried require_once(get_template_directory().'/home_bloc_horaires.php'); : it doesn't work and I get the following error messages:
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in D:\EasyPHP\www\wordpress\wp-content\themes\mmt-2014\header.php on line 348
Warning: include(http://127.0.0.1/wordpress/mirail/wp-content/themes/mmt-2014/home_bloc_horaires.php): failed to open stream: no suitable wrapper could be found in D:\EasyPHP\www\wordpress\wp-content\themes\mmt-2014\header.php on line 348
Warning: include(): Failed opening 'http://127.0.0.1/wordpress/mirail/wp-content/themes/mmt-2014/home_bloc_horaires.php' for inclusion (include_path='.;C:\php\pear') in D:\EasyPHP\www\wordpress\wp-content\themes\mmt-2014\header.php on line 348
bloginfo() outputs the result, which is why you can see it. Use this instead:
require_once(get_template_directory().'/home_bloc_horaires.php');
You can find more info on loading files in WordPress here.

Zend Autoloader.php file missing?

I'm using a Wordpress plugin Zend Framework for wordpress and I'm downloading the actual Zend library to plug it into the plugin (it doesn't provide by itself) from http://framework.zend.com/downloads/archives
Error:
Warning: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in C:\localhost\~\wp-content\plugins\zend-framework-wp\zend-framework.php on line 28
Fatal error: require_once(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php\pear;C:\localhost\~\wp-content\plugins\zend-framework-wp') in C:\localhost\~\wp-content\plugins\zend-framework-wp\zend-framework.php on line 28
zend-framework.php, line 28
function zend_framework_register_autoload()
{
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
}
There's no Zend/Loader/Autoloader.php.
There's a AutoloaderFactory.php, StandardAutoloader.php... I tried renaming them to Autoloader.php but ran into more errors,
Fatal error: Class 'Zend_Loader_Autoloader' not found in C:\localhost\~\wp-content\plugins\zend-framework-wp\zend-framework.php on line 29
I guess that's not the way to go.
What's going wrong?
edit: I've cross-posted to wordpress.stack

Body and Footer gone on homepage and error message after clearing cache Drupal 7

I recently was working on my website and decided to clear all caches and now the homepage only shows the header and nothing else. All the other pages work fine but i do get this error:
Warning: include(page-front.php) [function.include]: failed to open
stream: No such file or directory in include() (line 14 of
/home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php).
Warning: include(page-front.php) [function.include]: failed to open
stream: No such file or directory in include() (line 14 of
/home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php).
Warning: include() [function.include]: Failed opening 'page-front.php'
for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
include() (line 14 of
/home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php).
I did see a very similar problem someone else posted but it was for drupal 6 and the fix was to rebuild the modules by visiting admin/build/modules
and rebuild themes by visiting admin/build/themes. Unfortunately D7 does not have the same menu options.
Does anyone have an idea how to fix this?
In your file /home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php on line 14, function include('page-front.php') trying to include file page-front.php into your page.tpl.php, but there's no such file as page-front.php.
Make sure that this file (page-front.php) exist, or remove include('page-front.php') from page.tpl.php.

Resources