Possible exception in class-field-groups.php
-
Hello,
There is a check for the product id in class-field-groups.php line 306.
But as typical in PHP/ WordPress the ID can be a “valid” string as well..
–> if it isn’t a int the logic will go on an may throw an error later, i.e.
PHP Fatal error: Uncaught Error: Call to a member function get_id() on string in /…/wp-content/plugins/advanced-product-fields-for-woocommerce/includes/classes/class-field-groups.php:310
Thanks Adrian
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Possible exception in class-field-groups.php’ is closed to new replies.