wp-media/search-and-replace

Deprecated errors : Optional parameter `$search` declared before required parameter `$table` is implicitly treated as a required parameter

Closed this issue · 0 comments

Describe the bug
I am getting the Deprecated Errors on my WordPress admin dashboard.

Deprecated: Optional parameter $search declared before required parameter $table is implicitly treated as a required parameter in /var/www/html/humanmade/wp-content/plugins/search-and-replace/inc/Database/Replace.php on line 117

Deprecated: Optional parameter $replace declared before required parameter $table is implicitly treated as a required parameter in /var/www/html/humanmade/wp-content/plugins/search-and-replace/inc/Database/Replace.php on line 117

Deprecated: Optional parameter $search declared before required parameter $table is implicitly treated as a required parameter in /var/www/html/humanmade/wp-content/plugins/search-and-replace/inc/Database/Exporter.php on line 295

Deprecated: Optional parameter $replace declared before required parameter $table is implicitly treated as a required parameter in /var/www/html/humanmade/wp-content/plugins/search-and-replace/inc/Database/Exporter.php on line 295

To Reproduce
Steps to reproduce the behavior:

  1. Go to Website dashboard and at the top part you will find these errors.

Expected behavior
These Deprecated errors should not comes.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

Acceptance Criteria (for WP Media team use only)