Exception when saving lookbook in product page
-
ErrorException Warning: count(): Parameter must be an array or an object that implements Countable
/wp-content/plugins/woo-lookbook/admin/product.php in WOO_F_LOOKBOOK_Admin_Product::save_metabox at line 230
if ( is_array( $data ) ) { array_walk_recursive( $data, 'sanitize_text_field' ); } else { $data = array(); } if ( count( $data['lookbooks'] ) > 1 ) { $data['lookbooks'] = array_slice( $data['lookbooks'], 0, 2 ); } update_post_meta( $post_id, 'wlb_params', $data ); }
Can you fix it throught the next update?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Exception when saving lookbook in product page’ is closed to new replies.