PHP Fatal Error on v2.2.1
-
[27-Aug-2023 17:39:53 UTC] PHP Fatal error: Uncaught TypeError: WooCommerce\PayPalCommerce\Subscription\SubscriptionModule::WooCommerce\PayPalCommerce\Subscription{closure}(): Argument #2 ($post) must be of type WP_Post, WP_Comment given, called in /usr/www/users/user/wp-includes/class-wp-hook.php on line 310 and defined in /usr/www/users/user/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/SubscriptionModule.php:230
Stack trace: 0 /usr/www/users/user/wp-includes/class-wp-hook.php(310): WooCommerce\PayPalCommerce\Subscription\SubscriptionModule->WooCommerce\PayPalCommerce\Subscription{closure}() 1 /usr/www/users/user/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 2 /usr/www/users/user/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /usr/www/users/user/wp-admin/edit-form-comment.php(257): do_action() 4 /usr/www/users/user/wp-admin/comment.php(92): require(‘/usr/www/users/…’) 5 {main}thrown in /usr/www/users/user/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/SubscriptionModule.php on line 230
- The topic ‘PHP Fatal Error on v2.2.1’ is closed to new replies.