CyberHostUK - Web Hosting Forum & Community Discussion Board
News: Welcome to the all new CyberHostUK Web Hosting Discussion Forums!
 
*
Welcome, Guest. Please login or register. September 09, 2010, 02:42:50 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: WordPress Installation Issue - Workaround  (Read 594 times)
0 Members and 1 Guest are viewing this topic.
CyberHostUK Tim
CyberHostUK
Administrator
New Member
*****

Karma: 1
Posts: 43



WWW
« on: September 17, 2007, 01:22:44 PM »

We are aware of an issue that is currently affecting some new WordPress installations.

If you have tried to install WordPress recently and after installation, error messages relating to cache.php and an 'Illegal Offset' appear  we have the following workaround for you:

Edit  /wp-includes/plugin.php [Line : 102], inside remove_filter function.

Change :

Code:
unset($GLOBALS['wp_filter'][$tag][$priority][serialize($function_to_remove)]);

To :

Code:
$wp_filter[$tag][$priority][serialize($function_to_remove)] = array();

unset( $wp_filter[$tag][$priority][serialize($function_to_remove)] );

After making the above change all the problems should be fixed and the error messages should disappear.

Please remember to make a backup of your original plugin.php file before making the above amendments.

If you need any help with this, please let us know.
Logged

Kind regards,

Tim
CyberHostUK Founder & Managing Director
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM