[wp-trac] Re: [WordPress Trac] #10222: Fatal error: Trying to clone an uncloneable object of class ReflectionClass in /var/www/htdocs/syz/html/wp-includes/class-simplepie.php on line 11739...

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 23 10:09:01 GMT 2009


#10222: Fatal error: Trying to clone an uncloneable object of class ReflectionClass
in /var/www/htdocs/syz/html/wp-includes/class-simplepie.php on line
11739...
------------------------------------------------+---------------------------
 Reporter:  codestyling                         |        Type:  defect (bug)   
   Status:  new                                 |    Priority:  highest omg bbq
Milestone:  2.8.1                               |   Component:  Administration 
  Version:  2.8                                 |    Severity:  blocker        
 Keywords:  malfunction of wordpress scripting  |  
------------------------------------------------+---------------------------

Comment(by codestyling):

 Replying to [comment:3 dd32]:
 > >  simply nothing requires javascripts is working.
 >
 > Have you disabled All plugins and switched to the default theme? Some
 plugins load incompatible versions of Javascript libraries, such as
 jQuery, which can cause issues like no JS loading..
 Yes, i did. WP 2.8 in pure install, default theme and no plugins.
 The Dasboard is damaged because of

 {{{
 <b>Fatal error</b>:  Trying to clone an uncloneable object of class
 ReflectionClass in <b>C:\Program Files (x86)\xampp\htdocs\_root_wp28\wp-
 includes\class-simplepie.php</b> on line <b>11740</b><br />
 }}}

 this is again driven by a missing PHP 5 test even if the constant now
 respects mis-configuration:

 {{{
         function SimplePie_Parse_Date()
         {
                 $this->day_pcre = '(' . implode(array_keys($this->day),
 '|') . ')';
                 $this->month_pcre = '(' .
 implode(array_keys($this->month), '|') . ')';

                 static $cache;
                 if (!isset($cache[get_class($this)]))
                 {
                         if (extension_loaded('Reflection'))
                         {
                                 $class = new
 ReflectionClass(get_class($this));

 }}}
 No safety test is made to test if a PHP 5 can be used.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10222#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list