Is it possible maybe to delete and recreate that product? It sounds like there may be a specific issue with its setup if it's the only product with issues.
Based on the errors ("must be of type object|string, bool given"), it seems the product contains a "false" value instead of a $product object (WC_Product) for some reason. Usually we would see this for products that are deleted (in the trash / bin folder).
Other than that, it's hard to say what it could be, but happy to look into it further if you can share the last error details.
When adding this one product to the basket the site crashes and get the following error:
Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /sites/www.forwardproducts.co.uk/files/wp-content/plugins/b2bking/public/class-b2bking-dynamic-rules.php:8257
This isn't anything different how this product is set up to the others and can't figure out why this is breaking. Any help would be much appreciated.
Thanks
Is it possible maybe to delete and recreate that product? It sounds like there may be a specific issue with its setup if it's the only product with issues.
Based on the errors ("must be of type object|string, bool given"), it seems the product contains a "false" value instead of a $product object (WC_Product) for some reason. Usually we would see this for products that are deleted (in the trash / bin folder).
Other than that, it's hard to say what it could be, but happy to look into it further if you can share the last error details.