Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

PHP Upgrade causing error?

Home / Forums / Kadence Theme / PHP Upgrade causing error?

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
August 25, 2020 at 7:00 pm

I bought my theme back in 2014 but have kept up with the updates.

Today when asking my host to upgrade my PHP they said my theme was causing this error:

However, when updating to that version, this error is logged and it breaks the site:

[25-Aug-2020 12:36:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_tax_price_display_mode() on null in /home/artproje/public_html/wp-content/themes/virtue_premium/templates/header-topbar.php:70
Stack trace:
#0 /home/artproje/public_html/wp-includes/template.php(732): require()
#1 /home/artproje/public_html/wp-includes/template.php(676): load_template(‘/home/artproje/…’, false, Array)
#2 /home/artproje/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#3 /home/artproje/public_html/wp-content/themes/virtue_premium/templates/header.php(20): get_template_part(‘templates/heade…’, ‘topbar’)
#4 /home/artproje/public_html/wp-includes/template.php(732): require(‘/home/artproje/…’)
#5 /home/artproje/public_html/wp-includes/template.php(676): load_template(‘/home/artproje/…’, false, Array)
#6 /home/artproje/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#7 /home/artproje/public_html/wp-content/themes/virtue_premium/lib/template-hooks/page.php( in /home/artproje/public_html/wp-content/themes/virtue_premium/templates/header-topbar.php on line 70

You might need to reach out to the theme’s developer with this error before proceeding with the PHP upgrade.

Can you please advise? Thanks!

  • The forum ‘Kadence Theme’ is closed to new topics and replies.