Hello there,
Can you please either enable debug ) or provide what’s in your errors log so we can identify the error?WooCommerce -> Status -> Logs -> Fatal errors
I have enabled error log. Please check the url now.
I can see one Fatal error –
Fatal error: Uncaught TypeError: TierPricingTable\Services\ProductPageService::renderTooltip(): Argument #1 ($price) must be of type string, null given, called in /chroot/home/a47d5c7e/3e51f05eff.nxcli.io/html/wp-includes/class-wp-hook.php on line 310 and defined in /chroot/home/a47d5c7e/3e51f05eff.nxcli.io/html/wp-content/plugins/tier-pricing-table/src/Services/ProductPageService.php:181
It looks like, for some reason, some of your products do not have a pricing string. This is unexpected behavior. We add a fix to handle this case in the next release.
If you’re familiar with the code, you can add a fix yourself. In the tier-pricing-table/src/Services/ProductPageService.php file, line 229, add the question mark here: https://ibb.co/5sc3WtC
I hope this helps.
Line 229 does not contain this code. Please check screenshot – https://prnt.sc/lRydtiYGeLxO
Do you the free version of the plugin?
Please look for the “renderTooltip” function and change the first argument according to the message above.
Yes we are using free plugin. Added question mark in this function . Check – https://prnt.sc/Fxmo2S03Yrtb . Still the fatal error is showing at my end. Please check.
Fatal error: Uncaught TypeError: TierPricingTable\Services\ProductPageService::renderTooltip(): Return value must be of type string, null returned in /chroot/home/a47d5c7e/3e51f05eff.nxcli.io/html/wp-content/plugins/tier-pricing-table/src/Services/ProductPageService.php:191
Add the question mark here too: https://ibb.co/QmKmqp7
Yes. this fixed the issue. I am checking the whole website. I’ll let you know if i face any further issue .
Thanks for your help!
Great! Thanks for confirming!
I’m marking this thread as resolved. Feel free to open a new one if you have any issues with the plugin.
If you’re happy with the plugin, we’d appreciate if you could rate it here, on wp.org: https://projectdmc.org/support/plugin/tier-pricing-table/reviews/#new-post
Thanks!