Opened 22 months ago
Closed 22 months ago
#57762 closed defect (bug) (fixed)
repair.php gives Deprecated: addcslashes() warning PHP8.2
Reported by: | ipajen | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.2 | Priority: | normal |
Severity: | normal | Version: | 6.2 |
Component: | Administration | Keywords: | php81 has-patch |
Focuses: | administration, coding-standards | Cc: |
Description
6.2-beta2-55354, PHP 8.2.0
- Enable Debug
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true );
- Enable following in wp-config.php
define('WP_ALLOW_REPAIR', true);
- Run http://localhost/wp/wp-admin/maint/repair.php
- Run Repair Database or Repair and Optimize Database
Following Deprecated warning is given
Deprecated: addcslashes(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\wp\wp-includes\class-wpdb.php on line 1804
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Fixed the warning error