Outdated WooCommerce template – resolved with update to 5.1.0?
December 11, 2019 at 8:44 pm #67098
I have encountered a problem with the My Account page of WooCommerce Membership plugin, and through conversations with WooCommerce, have identified an outdated template file as the source of the problem. I have tested a different theme (WordPress 2020) and the problem did indeed go away.
I am currently running Circumference version 5.0.8. I see that a theme update was released earlier this year, will that likely resolve the WooCommerce template issue? I have a valid license for the Circumference theme but am not seeing the option to update in my WordPress dashboard.
The site is in maintenance mode now, but a link and password to bypass the maintenance page can be provided privately upon request.
Below is the description of the specific problem I am having, which I sent first to WooCommerce support:
I have set up a subscription membership [using WooCommerce with Membership and Subscription plugins] and successfully purchased a test membership using paypal. Everything appears to be working, except the My Account Dashboard page. It looks normal until I log in. Once I do, I see a “fatal error” / block of code between the Recent Orders header and the table for recent orders, and that table is also empty, not reflecting the order of my Membership product. None of the tabs at left (edit Profile, etc) work. They simply refresh the same page. The code I’m seeing is as follows:
”’Fatal error: Uncaught Error: Call to a member function populate() on boolean in /home1/peterjhall/public_html/wp-content/themes/circumference/woocommerce/myaccount/my-orders.php:43 Stack trace: #0 /home1/peterjhall/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include() #1 /home1/peterjhall/public_html/wp-content/themes/circumference/woocommerce/myaccount/my-account.php(56): wc_get_template(‘myaccount/my-or…’, Array) #2 /home1/peterjhall/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include(‘/home1/peterjha…’) #3 /home1/peterjhall/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(123): wc_get_template(‘myaccount/my-ac…’, Array) #4 /home1/peterjhall/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(72): WC_Shortcode_My_Account::my_account(”) #5 /home1/peterjhall/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_My in /home1/peterjhall/public_html/wp-content/themes/circumference/woocommerce/myaccount/my-orders.php on line 43”’
Thanks in advance for your help!December 11, 2019 at 8:48 pm #67099This reply has been marked as private.December 17, 2019 at 8:48 pm #67153
Yes, we squashed some woocommerce bugs in 5.1.0 as far as I recall.
Can you try updating to the latest version of theme?
To activate the update functionality you must enter your license key to Appearance / Theme LicenseDecember 17, 2019 at 9:55 pm #67154
Thanks for that, I didn’t realize I’d never activated the license and I’m glad to have the theme up to date. However, it did not fix my issue. Attached is a screen shot of what I’m seeing. I’ve tried multiple browsers, cleared my cache and cookies, logged out and back in.
Bypass link for the maintenance page doesn’t seem to be working so I’ve taken it out of maintenance mode for now.
Attachments:You must be logged in to view attached files.December 17, 2019 at 10:14 pm #67156
I had a look at the WooCommerce Membership plugin and it seems that this is a paid premium plugin.
We have no access to paid plugins to test with I’m afraid.
We will schedule an update for the Woocommerce core templates in January – this year we are not releasing any more versions.January 21, 2020 at 9:53 pm #67493This reply has been marked as private.January 21, 2020 at 10:28 pm #67494
Can you email us ([email protected]) with a copy of the premium plugin so we can look into the specific issue?
We need to be able to reproduce the issue in order to address it.
A login to the site you referenced would be also helpful otherwise we cannot access the my account page.
- You must be logged in to reply to this topic.