• Resolved Jane

    (@jstepak)


    I entered my search and replace strings and initiated the Dry Run. When I do, I get the following errors. Do you have any suggestions?

    Warning: Missing argument 1 for WP_Http_Cookie::__construct(), called in /home/corner55/public_html/sustainablegames.com/wp-content/plugins/better-search-replace/includes/class-better-search-replace-db.php on line 245 and defined in /home/corner55/public_html/sustainablegames.com/wp-includes/class-http.php on line 1926

    Warning: Cannot modify header information – headers already sent by (output started at /home/corner55/public_html/sustainablegames.com/wp-includes/class-http.php:1926) in /home/corner55/public_html/sustainablegames.com/wp-includes/pluggable.php on line 1178

    https://www.ads-software.com/plugins/better-search-replace/

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s frustrating! It looks like this could be a bug with the stable version of the search/replace script that this was based on.

    Can you try out the version downloadable here and let me know if the issue persists?

    Thread Starter Jane

    (@jstepak)

    Wow. thanks for your quick reply. I installed the updated version and was able to execute the dry run and search/replace without the errors.

    Quick question – and if I need to submit another ticket, let me know.

    Do you recommend a search and replace only on the wp_options table?

    Thanks for testing that. I’ve included the fix in the latest release.

    Somewhere WordPress also recommends running the search/replace on the wp_posts table, which along with wp_postmeta usually contains the majority of strings that need to be replaced.

    If you have to replace something on another table, it should be fine as long as you have a backup and test things out afterwards. The main arguments against running on all tables that I’ve seen are serialization (which this plugin accounts for) and GUIDs (which this plugin skips by default).

    Thread Starter Jane

    (@jstepak)

    Thanks so much for your help with this and extra help as I got up to speed with the process. Much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warnings when I initiate the dry run’ is closed to new replies.