Update to WordPress 6.2: fatal error at “get_batches()” signature
-
After updating to wordpress 6.2 we had some trouble with ns-cloner:
Fatal error: Declaration of NS_Cloner_Process::get_batches() must be compatible with WP_Background_Process::get_batches($limit = 0) in /var/www/wordpress/htdocs/wp-content/plugins/ns-cloner-site-copier/abstracts/class-ns-cloner-process.php on line 458
Fix: change the signature of the mentioned function from
public function get_batches() {
to
public function get_batches($limit = 0) {
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Update to WordPress 6.2: fatal error at “get_batches()” signature’ is closed to new replies.