Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    I ran into the same issue. The fix was to put a type check on the $product_obj variable on line 231 of the class-woo-product-stock-alert-admin.php file. So, change this:
    if( $product_obj->is_type('variable') ) {

    …to this:
    if( (gettype($product_obj) == "object") && $product_obj->is_type('variable') ) {

    Costin Gheonea

    (@costingheonea)

    Worked for me. I couldn’t place a new order manually. Thx

    Thread Starter hiphuisje

    (@hiphuisje)

    Thanks Pressify! It worked!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error : Call to a member function is_type() on a non-object in …’ is closed to new replies.