• Resolved angeldavo

    (@angeldavo)


    Good morning, I have a fatal error in the product sheet.

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function comments_link() on null in /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-content/plugins/customer-reviews-woocommerce/templates/cr-ajax-product-reviews.php:69\nStack trace:\n#0 /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-includes/comment-template.php(1629): require()\n#1 /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-content/plugins/woocommerce/templates/single-product/tabs/tabs.php(47): comments_template()\n#2 /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include(‘…’)\n#3 /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/product-data-tabs.php(286): wc_get_template()\n#4 /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): ElementorPro\Modules\Woocommerce\Widgets\Product_Data_Tabs->render()\n#5 /xxx/xxx/xxxxx/huertadepancha.com/httpdocs/wp-content/plugins/…’

    I was able to solve it by modifying the file plugins/customer-reviews-woocommerce/templates/cr-ajax-product-reviews.php modifying the if in line 65 if( $woocommerce_wpml ) : by this if ( $woocommerce_wpml && isset( $woocommerce_wpml->comments ) && method_exists( $woocommerce_wpml->comments, ‘comments_link’ ) ) :

    Do you have it under control?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support pistachio6321

    (@pistachio6321)

    Thank you for reporting this issue!

    We will implement a fix in the next update of the plugin.

    Plugin Support pistachio6321

    (@pistachio6321)

    The additional check was added in the version 5.75.1. Please install the update and let us know in case of any further problems.

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

The topic ‘ERROR F’ is closed to new replies.