URGENT – Error in single product page

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

  • Avatar: jnunoalves
    jnunoalves
    Participant
    September 10, 2017 at 18:48

    Hello,

    I was applying the solution that you gave me to my previous ticket and I don’t know exactly what happened but now I have the following error message in the single product page:

    Fatal error: Uncaught Error: Call to a member function is_visible() on null in /home/linger34/public_html/wp-content/themes/legenda/framework/theme-functions.php:2668 Stack trace: #0 /home/linger34/public_html/wp-content/themes/legenda/woocommerce/single-product/up-sells.php(33): etheme_create_slider(Array, Array) #1 /home/linger34/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(205): include(‘/home/linger34/…’) #2 /home/linger34/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1384): wc_get_template(‘single-product/…’, Array) #3 /home/linger34/public_html/wp-content/themes/legenda/woocommerce/content-single-product.php(113): woocommerce_upsell_display() #4 /home/linger34/public_html/wp-includes/template.php(690): require(‘/home/linger34/…’) #5 /home/linger34/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(175): load_template(‘/home/linger34/…’, false) #6 /home/linger34/public_html/wp-content/themes/legenda/woocommerce/single-product. in /home/linger34/public_html/wp-content/themes/legenda/framework/theme-functions.php on line 2668

    Now I’ve tried to:
    – deactivate all plugins
    – to activate another theme and reactivate Legenda
    – activate ONLY the required plugins for Legenda

    And I’ve still have the same issue.
    Can you help me? In the private content you have the login details.

    This is a production issue!!

    Thanks in advance

    PS: I’ve also noticed that my shop side bar widget lost most of its configuration. Where there any changes in the template that removed those configurations?

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 11, 2017 at 08:31

    Hello,

    Please rename “woocommerce” folder, which is located in wp-content/themes/legenda/ and upload woocommerce folder from the latest theme archive that you may download on ThemeForest, then replace /legenda/woocommerce/single-product/up-sells.php and /legenda/framework/theme-functions.php (I’ve sent new files on your email). If your problem will be solved, simply delete the old renamed woocommerce folder.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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