Replacement will not complete if there are too many tables
-
This is talking about Better Search Replace 1.4.3 free version
I have a multisite with blablabla plugins and more than 1000 tables . I performed a whole site replacement by selecting all tables. But I found that the replacement is not complete. Some tables are never replaced nor reported even I tried many times (and it really take many time in such many tables). I checked the php_error.log and found an error like this:
PHP Warning: parse_str(): Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in …/wp-content/plugins/better-search-replace/includes/class-bsr-ajax.php
Oh! yes, of course, because it’s a multiple option box! So I solved this by selecting fewer tables (less than 900) and finally get my replacement done. But I think it will be better if there is a warning before or after the replacement process.
And I think this problem might be avoid by combine the selection box into one big json string first, then sending to the backend.
Anyway, thank you devs provide this useful tool. Love you so much~
- The topic ‘Replacement will not complete if there are too many tables’ is closed to new replies.