PHP warnings with version 4.0.0
-
After I upgraded the Gift Cards plugin (free version) to version 4.0.0, I get the following warnings when I try to apply any coupon:
Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 250 Warning: Attempt to read property "post_title" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 262 Warning: Attempt to read property "post_parent" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 263 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 266 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 271 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 274 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 279 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 280 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 295 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 300 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 301 Warning: Attempt to read property "ID" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 307 Warning: Attempt to read property "post_status" on array in /wp-content/plugins/yith-woocommerce-gift-cards/includes/class-yith-ywgc-gift-card.php on line 309
The website runs with PHP 8.2, WordPress 6.2.2 and WooCommerce 7.7.1.
It would have been nice to be able to rollback to the previous version of the plugin, but as someone else noted, it’s not available.
Thank you in advance for your help !
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP warnings with version 4.0.0’ is closed to new replies.