Opened 17 years ago
Closed 17 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9 |
| Component: | Upgrade/Install | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [12383]) Do not stop plugin activation due to E_DEPRECATED errors in php 5.3, props Denis-de-Bernardy, fixes #11250