interconnectit / Search-Replace-DB

This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
GNU General Public License v3.0
3.99k stars 850 forks source link

syntax error, unexpected namespaced name "WpOrg\Requests\Utility\CaseIns...", expecting identifier #387

Open androsland opened 1 month ago

androsland commented 1 month ago

OS: Windows 11 Terminals used: Terminal, git bash

Just downloaded the repo, and run the command as per the README. php srdb.cli.php -h localhost -n 4xc -u root -s "//domain.local" -r "//domain.com" and i get the error syntax error, unexpected namespaced name "WpOrg\Requests\Utility\CaseIns...", expecting identifier.

The actual output:

wp_commentmeta: replacing //domain.local with //domain.io
wp_commentmeta: 0 rows, 0 changes found, 0 updates made in 0.00058508 seconds
wp_comments: replacing //domain.local with //domain.io
wp_comments: 1 rows, 0 changes found, 0 updates made in 0.00183320 seconds
wp_links: replacing //domain.local with //domain.io
wp_links: 0 rows, 0 changes found, 0 updates made in 0.00047493 seconds
wp_options: replacing //domain.local with //domain.io
syntax error, unexpected namespaced name "WpOrg\Requests\Utility\CaseIns...", expecting identifier

Any ideas?