• Resolved igooor

    (@igooor)


    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)
  • Plugin Support mivtt

    (@mivtt)

    Hi,

    Please update the latest version 1.0.8 that handled this problem.

    Best regards.

    • This reply was modified 2 years, 8 months ago by mivtt.
    Thread Starter igooor

    (@igooor)

    Ok, I will install the update and check if the problem’s solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exception when saving lookbook in product page’ is closed to new replies.