Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#11250 closed defect (bug) (fixed)

bulk activation reporting it's failing due to E_DEPRECATED in php 5.3

Reported by: Denis-de-Bernardy Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:


I get this error while bulk activating plugins, using code based on the WP function:

Plugins failed to reactivate due to a fatal error.

Deprecated: Assigning the return value of new by reference is deprecated in /Users/denis/Sites/upgrade-test/wp-content/plugins/xml-sitemaps/xml-sitemaps.php on line 238

So, basically, the error reporting level is too important. I believe the attached patch would be useful in WP as well...

Attachments (1)

error-reporting.diff (1.4 KB) - added by Denis-de-Bernardy 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @Denis-de-Bernardy
11 years ago

  • Keywords has-patch added

#2 @azaozz
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12383]) Do not stop plugin activation due to E_DEPRECATED errors in php 5.3, props Denis-de-Bernardy, fixes #11250

Note: See TracTickets for help on using tickets.