PHP errors when adding new sites
-
Hello guys, I started having this php error every time a new site is added to a WP multisite. It’s happenning the same as reported in this other topic:
https://www.ads-software.com/support/topic/error-when-adding-new-site?replies=5The server is running on PHP 5.4.29, MySQL 5.6.16, Apache 2.4.9, and there are less than 30 sites here. All of them works well. The sites are correctly created, yet this error appears, and looks like it is thrown when the resulting page try to be shown. I simply hit the Back button in the browser, refresh the sites screen and continue working.
This is the php error shown in screen:
Warning: fopen(/home/SITENAME/public_html/wp-content/plugins/EMPTY): failed to open stream: No such file or directory in /home/SITENAME/public_html/wp-includes/functions.php on line 3879
Warning: fread() expects parameter 1 to be resource, boolean given in /home/SITENAME/public_html/wp-includes/functions.php on line 3882
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/SITENAME/public_html/wp-includes/functions.php on line 3885
Warning: Cannot modify header information – headers already sent by (output started at /home/SITENAME/public_html/wp-includes/functions.php:3879) in /home/SITENAME/public_html/wp-includes/pluggable.php on line 1121
(The real folder path was replaced with “SITENAME”)
Looks like it’s trying to open something inexistent (/home/SITENAME/public_html/wp-content/plugins/EMPTY)…
I tried deactivating the Plugin Manager and then I can create sites without issues.
What may be causing this?
Anybody else having these issues?
Any fix either?Thanks!
https://www.ads-software.com/plugins/multisite-plugin-manager/
- The topic ‘PHP errors when adding new sites’ is closed to new replies.