[wp-trac] Re: [WordPress Trac] #3354: PHP 5.2 & Fatal error in cache.php

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 20 19:16:37 GMT 2006


#3354: PHP 5.2 & Fatal error in cache.php
-----------------------+----------------------------------------------------
 Reporter:  pulponair  |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:           
Component:  General    |      Version:  2.0.5    
 Severity:  blocker    |   Resolution:           
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by pulponair):

 Temporary fix :

 wp-includes/cache.php Line 28:
 {{{
     if (!is_object($wp_object_cache)) {
     $wp_object_cache = new WP_Object_Cache();
     }
 }}}
 wp-includes/cache.php Line 187:
 {{{
     if (!is_object($wpdb)) {
     $wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
     }
 }}}
 quick n dirty but working.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3354#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list