[wp-trac] Re: [WordPress Trac] #8273: updater bug in 2,7 beta3

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 19 09:22:22 GMT 2008


#8273: updater bug in 2,7 beta3
----------------------+-----------------------------------------------------
 Reporter:  are79     |        Owner:         
     Type:  defect    |       Status:  closed 
 Priority:  normal    |    Milestone:         
Component:  Upgrade   |      Version:  2.7    
 Severity:  critical  |   Resolution:  invalid
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by DD32):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.7 =>

Comment:

 > I think I have. But anyway before declaring a class or function it would
 be good to check if it is not yet declared. Am I wrong?

 You're probably right, But the plugin obviously doesnt, And older versions
 of the class could cause conflict issues. The only plugins which utilise
 the PclZip class AFAIK have been updated, The main culprit was the
 Automatic upgrade.

 The odd part about this error message, Is that its complaining about the
 functions which are included AFTER the class, Generally the error is that
 the class has allready been defined, NOT that a function has been
 declared.

 I'm tempted to say that it could be a corrupt file, try re-uploading the
 /wp-admin/includes/class-pclzip.php file, Else you'll have to check each
 plugin, Simply adding a class_exists() check wouldn't've solved this
 error, nor do i think theres a need for it (Due to it being this way since
 2.5, and all the plugins which utilise it have been updated).

 So the solution is going to be to work out which plugin is causing the
 issue, and notifying the author.

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


More information about the wp-trac mailing list