• Resolved hiflyman

    (@hiflyman)


    Hi, I appreciate all that the open source woocommerce team does to maintain such as growing plugin but at what stage is the plugin considered to play nicely with the majority of themes as the plugin with its own database seems almost independent.

    The reason for asking is that we are currently helping a company that has an outdated theme and whilst the WC updates had been going smoothly for a couple of years, it is a concern that looking at the update logs from WC there appear to be a growing number of changes, that are then either reverted back to the previous version, patched, fixed again, and reverted back.. It’s enough to make your head spin, but there are a few security updates that might be crucial and worth updating the database? Or just leave as is, as if it’s not broke don’t fix it, but at some point security may become necessary or highly advised? What are your thoughts? Leave any updates as product management and orders work ok or ??

    Currently –

    WC Version: 8.9.3 – But could upgrade to latest 9.6.1?
    REST API Version: 8.9.3
    Action Scheduler Version: 3.7.4
    WP Version: 6.6.2 But could update to latest now some bugs are fixed.
    Beaver Builder Theme

    Child Theme – yes
    Parent Theme Version: 1.7.6.2 – Very oudated (not our choice)

    All seems to work fine with one Critical repeating error – site details replaced with xxxxx’s for illustration.

    CRITICAL Uncaught Error: Call to a member function get_customer_id() on null in /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-catalog-visibility-options/lib/woocommerce-catalog-restrictions/classes/class-wc-catalog-restrictions-query.php:166 CONTEXT: {“error”:{“type”:1,”file”:”\/home\/xxxxxxxx\/web\/xxxxxxxx\/public_html\/wp-content\/plugins\/woocommerce-catalog-visibility-options\/lib\/woocommerce-catalog-restrictions\/classes\/class-wc-catalog-restrictions-query.php”,”line”:166},”backtrace”:[“”,”#0 \/home\/xxxxxxxx\/web\/xxxxxxxx\/public_html\/wp-content\/plugins\/woocommerce-catalog-visibility-options\/lib\/woocommerce-catalog-restrictions\/classes\/class-wc-catalog-restrictions-query.php(63): WC_Catalog_Restrictions_Query->get_cached_exclusions()”,”#1 \/home\/xxxxxxxx\/web\/xxxxxxx\/public_html\/wp-includes\/class-wp-hook.php(324): WC_Catalog_Restrictions_Query->taxonomy_filter()”,”#2 \/home\/xxxxxx\/web\/xxxxxxxxx\/public_html\/wp-includes\/plugin.php(205): WP_Hook->apply_filters()”,”#3 \/home\/xxxxxxx\/web\/\xxxxxxx/public_html\/wp-includes\/class-wp-term-query.php(411): apply_filters()”,”#4 \/home\/xxxxxx/web\/xxxxx\/public_html\/wp-includes\/class-wp-term-query.php(311): WP_Term_Query->get_terms()”,”#5 \/home\/xxxxxx\/web\/xxxxxxxx]}

    Thanks in advance for your suggestions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thank you for your detailed explanation. Regarding your question about compatibility with themes and keeping WooCommerce up to date:Compatibility with Themes:

    WooCommerce is designed to work with most well-coded themes, but compatibility issues can sometimes arise, especially with outdated themes or custom theme modifications. Since you’re using a very outdated parent theme, this might cause some compatibility issues with newer WooCommerce versions.

    It’s important to stay up to date with WooCommerce, WordPress, and plugins for security reasons, especially since outdated versions can have known vulnerabilities. Even if everything seems to be working fine now, security patches in updates are crucial. I would recommend updating to WooCommerce 9.6.1 and WordPress 6.6.2 to ensure you’re protected with the latest fixes. However, it’s essential to test on a staging environment first to make sure the update won’t disrupt the existing functionality, especially with the outdated theme.

    Regarding the Critical Error:
    The error you’re encountering, “Uncaught Error: Call to a member function get_customer_id() on null”, seems to be related to the WooCommerce Catalog Visibility Options plugin. The error is occurring because the function is trying to access customer data that doesn’t exist in the context.

    To fix the error, I would suggest ensuring that you are using the latest version of the WooCommerce Catalog Visibility Options plugin. If you are already using the latest version, I recommend reaching out to the plugin’s support team for assistance in resolving the issue.

    It seems like the plugin may need an update to ensure compatibility with the latest version of WooCommerce. Please note that in this forum, we only provide support for WooCommerce core features. Since the error is related to a third-party plugin, contacting the plugin developer is the best approach.

    Thank you

    Thread Starter hiflyman

    (@hiflyman)

    Thank you for your feedback Shahzeen, appreciated. I’ll test and come back if any new issues.

    Hopefuuly most of the latest WC updates irons out most of the errors, but you can understand the concern with so many fixes to errors with revert back to previous versions included in the past few updates.

    Are there any additional concerns or things to look out for in the logs with WC pulling the plug on REST API from verion 9+ or has that potential issue been solved with the addition of the additional REST API plugin for legacy users?

    Thanks again

    Zee

    (@doublezed2)

    Hello hiflyman,

    Thank you for your reply.

    I understand your concern about WooCommerce updates and the REST API changes.

    The additional REST API plugin should ensure compatibility for legacy users.
    WooCommerce has no plans to completely remove the REST API for now.

    Let me know if you need further clarification.

    Best regards.

    Thread Starter hiflyman

    (@hiflyman)

    Thanks for your swift reply Zubair, appreciated. All the best

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi there,

    I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    If you have a few minutes, we’d love if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/

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

The topic ‘Updates Stability?’ is closed to new replies.