Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lanasphoto

    (@lanasphoto)

    That’s what I was doing when it triggered the error. But nevermind I just removed the tab sections and will put the information I needed, elsewere.

    Thread Starter lanasphoto

    (@lanasphoto)

    I disabled jetpack and everything else but WC, WC paypal express, and the “core” plugin needed for my theme. I have also enabled debug and got this 3 times:

    Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/kameleon/woocommerce.php’), woocommerce_content, wc_get_template_part, load_template, require(‘/themes/kameleon/woocommerce/content-single-product.php’), do_action(‘woocommerce_before_single_product_summary’), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_show_product_images, wc_get_template, include(‘/themes/kameleon/woocommerce/single-product/product-image.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home2/***/public_html/**********/wp-includes/functions.php on line 4147

    and
    Notice: WC_Product::get_gallery_attachment_ids is deprecated since version 3.0! Use WC_Product::get_gallery_image_ids instead. in /home2/******/public_html/*****/wp-includes/functions.php on line 3839

    Doing some research I kept finding answers about changing “$product->product_type;” to “$product->get_type();” but I can’t seem to find $product->product_type in any of the functions.php files… I’m new to php editing. :/

    Thread Starter lanasphoto

    (@lanasphoto)

    Hello, Thanks for getting back to me. Should I disable Jetpack as well?

Viewing 3 replies - 1 through 3 (of 3 total)