• Resolved pbc1inic

    (@pbc1inic)


    I’m a novice just to be clear but have pulled together my website, managed to get shop landing and subsequent product archives working from their templates however the single product template is being blocked. When checking the error logs it reads the following :

    84 PHP Fatal error:  Uncaught Error: Call to a member function get_image() on string in /nas/content/live/phibalance/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1441\nStack trace:\n#0 /nas/content/live/phibalance/wp-content/themes/astra/inc/compatibility/woocommerce/class-astra-woocommerce.php(3605): woocommerce_get_product_thumbnail()\n#1 /nas/content/live/phibalance/wp-includes/class-wp-hook.php(308): Astra_Woocommerce->single_product_sticky_add_to_cart(”)\n#2 /nas/content/live/phibalance/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#3 /nas/content/live/phibalance/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#4 /nas/content/live/phibalance/wp-includes/general-template.

    11:21 pm

    php(3059): do_action(‘wp_footer’)\n#5 /nas/content/live/phibalance/wp-content/plugins/royal-elementor-addons/admin/templates/wpr-canvas.php(63): wp_footer()\n#6 /nas/content/live/phibalance/wp-includes/template-loader.php(106): include(‘/nas/content/li…’)\n#7 /nas/content/live/phibalance/wp-blog-header.php(19): require_once(‘/nas/content/li…’)\n#8 /nas/content/live/phibalance/index.php(17): require(‘/nas/content/li…’)\n#9 {main}\n? thrown in /nas/content/live/phibalance/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1441

    Can any body assist?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @pbc1inic

    Would you mind copying and pasting your System Status Report into this thread so that we can check for any red flags there? You can find this by going to WooCommerce > Status > System Status > Get System Report in your WP-Admin dashboard.

    Also, this is usually due to an outdated or conflicting theme or plugin. Does the problem persist with just WooCommerce and a default theme active? For testing steps, please see: https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    Hi,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘84 PHP Fatal Error : uncaught error which is preventing single product template’ is closed to new replies.