• Resolved kicia

    (@kicia)


    Hello,

    my problem is the invoices are not being sent, despit of proper settings.

    I saw some user asked te same question a year ago, the topic is closed, the solution was to update the plugin.

    I have a site with an up-to-date plugin. The error log says:

    2024-01-03T16:15:17+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on bool in /home/username/www/wp-content/themes/savoy/woocommerce/content-single-product.php:65 Stack trace:
    #0 /home/username/www/wp-includes/template.php(792): require()
    #1 /home/username/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/home/username/w…’, false)
    #2 /home/username/www/wp-content/themes/savoy/woocommerce/single-product.php(40): wc_get_template_part(‘content’, ‘single-product’)
    #3 /home/username/www/wp-includes/template-loader.php(106): include(‘/home/username/w…’)
    #4 /home/username/www/wp-blog-header.php(19): require_once(‘/home/username/w…’)
    #5 /home/username/www/index.php(17): require(‘/home/username/w…’)
    #6 {main} thrown w /home/username/www/wp-content/themes/savoy/woocommerce/content-single-product.php in line 65


    What to do to resolve the issue?

    Please help me ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @kicia,

    It seems that error is being produced by your theme (Savoy). Check if you are using the last version of this theme. If not, please update it and let us know whether the issue is fixed, or not.

    Thread Starter kicia

    (@kicia)

    Hi @yordansoares

    Thank you for the reply and sorry for my late.

    The case is, this website had been left alone for two years, now it was given to me to solve the problem because “nothing works”. ??

    I updated everything which was available to be updated – the plugins, the theme, the WordPress version and PHP version.
    Savoy theme is up to date now, but it has a couple of its native plugin and they seem not to be developed anymore, there was no update for them – so I turned these plugins off, none of them reports an issue in log file now (they did previously).

    Your plugin is a great tool and honestly I prefer much this free plugin to a premium one which we’ve considered to buy to solve the problem, the functionality of your plugin is the best on the market for this website. This is why I’d want to make it work again.

    So I updated all the plugins (despite of the ones which had to be turned off, but they had no strategical meaning, it’s something for social media and a woocommerce wishlist, we don’t need to use these plugins). And the mentioned issue with function get_id()?still exists after the updates.

    Thank you a lot.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for the details, @kicia:

    However, I’m afraid this is not an issue related with our plugin itself.

    My recommendation is to contact the Savoy support and provide them with the stack trace you have shared above: They should fix it in their side.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CRITICAL Uncaught Error: Call to a member function get_id() on bool in’ is closed to new replies.