[wp-trac] [WordPress Trac] #11518: Fatal error: Call to undefined method WP_Error::__destruct()

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 20 01:01:22 UTC 2009


#11518: Fatal error: Call to undefined method WP_Error::__destruct()
----------------------------+-----------------------------------------------
 Reporter:  westi           |       Owner:       
     Type:  defect (bug)    |      Status:  new  
 Priority:  normal          |   Milestone:  2.9.1
Component:  Administration  |     Version:  2.9  
 Severity:  normal          |    Keywords:       
----------------------------+-----------------------------------------------

Comment(by miqrogroove):

 Replying to [comment:11 hakre]:
 > There is no need at all to manually execute ${{{rss->__desctruct();}}}

 If the object has self-referencing members, as indicated in class
 SimplePie, then PHP4 will not automatically destroy it when it falls out
 of scope.  I believe that is the purpose of those calls.

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


More information about the wp-trac mailing list