interconnectit/Search-Replace-DB

Sear

Closed this issue · 4 comments

https://github.com/interconnectit/Search-Replace-DB/blob/master/srdb.class.php

I downloaded the search and replace on 3/2/19 so it is the latest version and downloaded the xampp on 3/1.

I am getting the this same error message that this discussion notes on an xampp installation under windows using wordpress and MariaDB. Do I copy this text and replace srdb.class.php with this code (I would rename the original file first)? I am using Apache24.

In addition, on some of the videos regrading this product there is a user interface screen that allows you to enter the search and replace without using command line input. Where do you get that installation?

Solved
searched for all microtime( );

made them

microtime(true),

Search-Replace-DB - srdb.class.php

Two more error messages

php srdb.cli.php -h localhost -u root -p "" -n db77 -s "http://www.the-love-of-jesus.com" -r "http://localhost/wordpress"

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Have no idea what it means by the continue

Another error:

Notice: icit_srdb::recursive_unserialize_replace(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "FS_Plugin_Plan" of the object you are trying to operate on was loaded before unserialize() gets called or provide an autoloader to load the class definition in C:\CSMJesus\xampp\htdocs\wordpress\Search-Replace-DB-master\srdb.class.php on line 755

I am a newbie to please make instructions very clear as I am not a php programmer yet!

Thanks!

I get the same warning when using PHP 7.3 but not on PHP 7.2:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

I guess this would fix that error: #255

thanks, we pushed the fix in the new version v4, it's not released yet but we are working on it!