Class WC Background Process on line 101
-
Hi guys,
I’m having problem with this Class WC Background Process. When I run the WooCommerce Data Update it stuck. I have check the error_logs and it says:
PHP Warning: Invalid argument supplied for foreach() in /home/demolate888/public_html/wp-content/plugins/woocommerce/includes/abstracts/class-wc-background-process.php on line 101Here’s the code for line 101:
foreach ( $batch->data as $key => $value ) { $task = $this->task( $value ); if ( false !== $task ) { $batch->data[ $key ] = $task; } else { unset( $batch->data[ $key ] ); } if ( $this->batch_limit_exceeded() ) { // Batch limits reached. break; } }What shoud I do to fix this problem?
Any help very much appreciated.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Class WC Background Process on line 101’ is closed to new replies.