Opened 15 years ago
Closed 15 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: |
Description
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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [12383]) Do not stop plugin activation due to E_DEPRECATED errors in php 5.3, props Denis-de-Bernardy, fixes #11250