TablePress

After updating to version 2.20, pages with TablePress tables give the following error

Fatal error: Call to undefined function is_product() in /home/bcc/public_html/wp-content/themes/sparkling/functions.php on line 426

Is it something TablePress has to fix, or the theme?

UPDATE. It does not seem to be related to Tablepress. I resolved the issue by changing the template settings on the page (fullwidth)

Hi @peterdarby,

It was the issue with Sparkling theme as discussed in the following topic but it’s now resolved in the latest version of Sparkling theme so please make sure that you are using latest version of the theme.

https://colorlibsupport.com/t/full-width-post-featured-image/#post-38115

Cheers,
Movin