lanasphoto
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Get_related repair triggers fatal error.. and fixes a problemThat’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.
Forum: Plugins
In reply to: [WooCommerce] Desciption won’t showI 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 3839Doing 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. :/
Forum: Plugins
In reply to: [WooCommerce] Desciption won’t showHello, Thanks for getting back to me. Should I disable Jetpack as well?