error – in woocommerce file – Call to a member function is_visible() on null

Home Forums Legacy Support Support queries Other issues error – in woocommerce file – Call to a member function is_visible() on null

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #206602
    diwakarc
    Spectator
    Hi Support team,   I am continuously getting this error. Can you please let me know how to resolve this   2019/04/27 12:41:37 [error] 1717#0: *366327 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function is_visible() on null in /var/www/intellipaat.com/htdocs/wp-content/themes/wplms/woocommerce/content-product.php on line 25 PHP message: PHP Stack trace: PHP message: PHP   1. {main}() /var/www/intellipaat.com/htdocs/index.php:0 PHP message: PHP   2. require() /var/www/intellipaat.com/htdocs/index.php:17 PHP message: PHP   3. require_once() /var/www/intellipaat.com/htdocs/wp-blog-header.php:19 PHP message: PHP   4. include() /var/www/intellipaat.com/htdocs/wp-includes/template-loader.php:74 PHP message: PHP   5. wc_get_template_part() /var/www/intellipaat.com/htdocs/wp-content/themes/intellipaat/woocommerce/archive-product.php:93 PHP message: PHP   6. load_template() /var/www/intellipaat.com/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php:181 PHP message: PHP   7. require() /var/www/intellipaat.com/htdocs/wp-includes/template.php:690" while reading response header from upstream, client: 185.93.229.2, server: intellipaat.com, request: "GET /linkage/trainingname-training/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "intellipaat.com", referrer: "https://intellipaat.com/linkage/trainingname-training/"  
    #206818
    Mk
    Moderator
    Hey, Sorry for delay in reply. I need some more relevant data to check your issue at my end. Please share some more details like how to get this error. what steps you used? URLs, If I need creds to check please share credentials in private reply.  
    #206837
    diwakarc
    Spectator
    This reply has been marked as private.
    #206937
    Mk
    Moderator
    Well the error is appearing from your own child theme woocommerce folder . Hence the issue is not related to theme .   You have customized shop page template and you might have now updated the woocommere plugin but your custom templates files are way too old(maybe 2 years) . This is why the error might be appearing on your site .   Please rename your child theme woocommerce folder in order to resolve it .
    #208498
    Cyberbug
    Spectator
    I found the following error. Please advise the action to solve it. <p style="font-size: 13px; line-height: 1.5; margin: 0.5em 0px; padding: 2px; color: #444444; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;"><span style="font-weight: 600;">our theme (WPLMS) contains outdated copies of some WooCommerce template files.</span> These files may need updating to ensure they are compatible with the current version of WooCommerce. Suggestions to fix this:</p>  
      <li style="margin-bottom: 6px;">Update your theme to the latest version. If no update is available contact your theme author asking about compatibility with the current WooCommerce version. <li style="margin-bottom: 6px;">If you copied over a template file to change something, then you will need to copy the new version of the template and apply your changes again.
    #208659
    Mk
    Moderator
    This should solve your issue. If it doesn't please reply, We will need to check it at our end. Thanks waiting for your reply.
    #208780
    Cyberbug
    Spectator
    What should I do?
    #208884
    Mk
    Moderator
    Sir , I asked did you renamed your woocomerce folder in child theme? After rename if still error exist please reply.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘error – in woocommerce file – Call to a member function is_visible() on null’ is closed to new replies.