Pricing Table Error


#1

Hi,

I tried setting up a few products for the Astrid Pro Pricing Table (inserted the Pricing Table widget in my home page, added a few pages with the template Single Pricing Table), but under each product in the table on my home page it says “Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/astrid-pro/includes/widgets/pricing-widget.php on line 134”. Is there something I’m doing wrong?

Thanks!


#2

Hello,

Can you please provide a link to your website?

Kind Regards, Roman.


#3

Hi Roman,

You can see an example at http://test.jgurian.com/

Thanks!

Josh


#4

Hello Josh, thank you for the link.

I couldn’t recreate your issue on my local Astrid Pro install.

Please try to temporarily deactivate your plugins and see if it helps.

Kind Regards, Roman.


#5

Hi Roman,

Thank you for looking into this issue. All of my plugins are disabled (except the Astrid Pro plugin (v. 1.07), but the problem remains. It’s a fresh installation of Wordpress version 4.9.6, if that helps.

Thanks,

Josh


#6

Aha! I figured out the problem - after you set a product page template as “Single Pricing Table”, you have to publish the page. If you then edit the page, you have additional options for “Pricing Tables”, including “Features”. The error occurs if “Features” is left blank.

Thanks!


#7

Hello Josh,

I’ve just emptied Features input field but still don’t see the error. You can make sure that your hosting meets WordPress Requirements.

Also you can try to rebuild your website in a staging environment or locally and see if it works as it should (then you will be able to move rebuilt website to production environment). Please remember about importance of regular full site backups (files and database):
https://codex.wordpress.org/WordPress_Backups

Here are helpful tutorials:



Kind Regards, Roman.