Your best bet is to get that Wordpress upgrade working, so it will be compatible with the new version of PHP. I'm not sure what kind of code you were running anyway that was causing the problem.
GoWorkIt | Work Instantly
Hi all - long time no visit!
The night before last my hosting company updated the version of PhP and ever since some of our sites have been displaying the following error messages:
Deprecated: Assigning the return value of new by reference is deprecated in /home/djkxndjo/public_html/mysite.com/wp-includes/cache.php
Other sites are simply showing a white screen.
In either case we are not able to access the Wordpress admin tool.
The advise from my hosts was to update Wordpress using Fantastico - but this hasn't worked in all cases.
The 2nd piece of advice was:
You need to edit 2 php files,
root/wp-settings.php
search this code
if (defined(’WP_DEBUG’) and WP_DEBUG == true) {
error_reporting(E_ALL);
} else {
error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
}
Replace with
if (defined(’WP_DEBUG’) and WP_DEBUG == true) {
error_reporting(E_ALL);
} else {
error_reporting(0);
}
now 2nd file
root/wp-config.php
may sure keep a back of this file before make any change, it can stop working your entire website
just add this code at top of this file
error_reporting(0);
This doesn't work in all cases either.
So I'm turning to our affiliate community. Does anyone have any suggestions as to where we go from here?
Annoyed of SE London doesn't quite express it![]()
Karen
Your best bet is to get that Wordpress upgrade working, so it will be compatible with the new version of PHP. I'm not sure what kind of code you were running anyway that was causing the problem.
GoWorkIt | Work Instantly
Add this to the top of your wp-config.php file, right after the first <?php line:
error_reporting(0);
hope it helps found it here
WordPress › Support
andy
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks