• Resolved seank123

    (@seank123)


    Hi

    I’m getting a lot of the following errors in the error log:

    [13-Mar-2017 11:14:02 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/wc-fields-factory/classes/wcff-product-form.php on line 281
    [13-Mar-2017 12:35:15 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/wc-fields-factory/classes/wcff-product-form.php on line 290

    There doesn’t seem to be any issues with the plugin working though

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    After the update to 1.3.7 my site went blank.

    I got this error:

    Fatal error: Using $this when not in object context in /wp-content/plugins/wc-fields-factory/classes/wcff-product-form.php on line 26.

    Downgrading to 1.3.6 fixed the issue.

    @jeroendg – same thing here..

    I removed these lines for a quick fix in wcff-product-form.php

    		//added by pj
    		add_action( 'wp_enqueue_scripts', function(){
    			$this->wccpf_front_end_enqueue_scripts( false, true, true );
    		});
    Plugin Contributor sarkparanjothi

    (@sarkparanjothi)

    All warning fixed in fields factory v1.3.8 please update and check

    Thread Starter seank123

    (@seank123)

    Thanks – looks like it’s fixed it!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Waring is error log’ is closed to new replies.