andreacomplus
Forum Replies Created
-
Hello @macomamoi,
j’ai fait une patch en dur dans le code du module, car ils n’ont jamais répondu. La version 5.3.4 a toujours ce bug. La correction faite est exactement celle décrite dans le message.
Si t’as besoin d’aide n’hésite pas, au pire je pourrais publier sur Github le repo avec la correction.
Same here, fixed modifying the function get_product_type to
# /wp-content/plugins/woo-extra-product-options/includes/utils/class-thwepof-utils.php:241 public static function get_product_type($product){ if (null === $product) { return ''; } if(self::woo_version_check()){ return $product->get_type(); } return $product->product_type; }
I simplified the code for legibility.
Forum: Plugins
In reply to: [Advanced Notifications] Memory exhaustedThanks for your investigation @yehi , I’ll try to pinpoint this with XDebug, since the stack trace doesn’t help much.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] PHP8.1 compatibilityAdding temporarily a [\ReturnTypeWillChange] annotation would patch the issue and be backwards compatible, please consider this option. For compliance reasons we had to move a host to PHP 8.1 and we cannot rollback for a single plugin.
FYI WordPress and Woocommerce, in our use cases, work perfectly well in PHP 8.1
I can confirm that this bug is still relevant, please check the proposed solutions!
Forum: Plugins
In reply to: [Advanced Notifications] Fatal errors in PHP 8.1Thanks!
Forum: Plugins
In reply to: [Advanced Notifications] Fatal errors in PHP 8.1BTW, I fixed this temporarily changing line 104 of /includes/an-functions.php:
$an_api->add_notification(array_merge($args, (array) $notification_settings));