• Resolved mohamettarik

    (@mohamettarik)


    Hello

    Below error is persistent in cart page. I am looking for support.
    Regards


    Notice: Function post 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/astra/page.php’), astra_content_page_loop, do_action(‘astra_content_page_loop’), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action(‘astra_page_template_parts_content’), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require(‘/themes/astra/template-parts/content-page.php’), astra_entry_content_single_page, do_action(‘astra_entry_content_single_page’), WP_Hook->do_action, WP_Hook->apply_filters, astra_entry_content_single_page_template, get_template_part, locate_template, load_template, require(‘/themes/astra/template-parts/single/content-header.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_blocks, render_block, WP_Block->render, WP_Block->render, WP_Block->render, Jet_Popup\Block_Editor_Manager->Jet_Popup\{closure}, call_user_func, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render, array_map, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render_product, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->get_button_html, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->get_add_to_cart, WC_Product_Variable->add_to_cart_text, apply_filters(‘woocommerce_product_add_to_cart_text’), WP_Hook->apply_filters, WCS_ATT_Display_Product::add_to_cart_text, WCS_ATT_Display_Product::prompt_plan_selection_in_catalog, WC_Product->is_purchasable, apply_filters(‘woocommerce_is_purchasable’), WP_Hook->apply_filters, PublishPress\Permissions\Compat\WooCommerce->woo_visibility_fix, 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?/home/xxx/public_html/xxxx/xxx/xxx.ae/wp-includes/functions.php?on line?6031

    • This topic was modified 1 year, 4 months ago by mohamettarik.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @mohamettarik

    It appears that there’s an issue with how your theme or a plugin is trying to access product properties, that leads to these errors.

    First, please ensure that all your plugins and WordPress versions are up-to-date. Then, could you please perform a conflict test by switching to a default WordPress theme, and then deactivating all plugins except WooCommerce to see if the issue is gone? If it’s resolved, then that means a theme or a plugin is contributing to the issue. Re-enable each to see which one causes it. You can find a more detailed explanation of how to do a conflict test here.

    Please let us know how it goes!

Viewing 1 replies (of 1 total)
  • The topic ‘Persistent error in cart page’ is closed to new replies.