Fatal erro woocommerce "get_type"

This topic has 8 replies, 3 voices, and was last updated 5 years, 5 months ago ago by Rose Tyler

  • Avatar: Jonatan C Vieira
    Jonatan C Vieira
    Participant
    June 23, 2020 at 22:11

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_type() on null in /var/www/vhosts/xxx.com/httpdocs/wp-content/themes/xstore/woocommerce/content-product.php:34\nStack trace:\n#0 /var/www/vhosts/xxx.com/httpdocs/wp-includes/template.php(725): require()\n#1 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(197): load_template(‘/var/www/vhosts…’, false)\n#2 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(660): wc_get_template_part(‘content’, ‘product’)\n#3 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(100): WC_Shortcode_Products->product_loop()\n#4 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/classes/base-products-renderer.php(22): WC_Shortcode_Products->get_content()\n#5 /var/www/vhosts/xxx.com/httpdocs/wp-content/p…’, referer: https://www.xxx.com/wp-admin/edit.php?post_type=elementor_library&tabs_group=theme

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 24, 2020 at 07:24

    Hello,

    Provide URL of your site, temporary wp-admin, and FTP access. Use Private Content area http://prntscr.com/t5f6et

    Regards

    Avatar: Jonatan C Vieira
    Jonatan C Vieira
    Participant
    June 25, 2020 at 16:05

    Following are the data for access and a new problem found

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 25, 2020 at 16:46

    Hello,

    Thank you. Could you, please, explain to us step by step your actions before you get the first error and before you get the second error to allow us to reproduce them and to understand what third-party options/plugins you use?

    Regards

    Avatar: Jonatan C Vieira
    Jonatan C Vieira
    Participant
    June 25, 2020 at 19:18

    Steps

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 26, 2020 at 13:35

    Hello,

    Please check now.

    Regards

    Avatar: Jonatan C Vieira
    Jonatan C Vieira
    Participant
    June 26, 2020 at 13:53

    Good Morning,

    We verify that the problem has been resolved, thanks.

    However, there were some doubts, was the solution applied in hardcode?

    When performing an update of thema will this correction come or will the code that was adjusted be lost?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 26, 2020 at 14:06

    Hello,

    You’re welcome!
    The fix will be included in the next theme update also.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Fatal erro woocommerce "get_type"’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.