PHP Error occurs when vendor tries to withdraw via Vendor Dashboard
-
A non-numeric value encountered in /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-post-transaction.php on line 322
The error seems to be caused the new transaction record created when payment is being processed. Payment is processed properly but the success message is not displayed because of the error.
Below is the stack trace of the error.PHP Warning: A non-numeric value encountered in /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-post-transaction.php on line 322 PHP Stack trace: PHP 1. {main}() /index.php:0 PHP 2. require() /index.php:17 PHP 3. require_once() /wp-blog-header.php:13 PHP 4. require_once() /wp-load.php:37 PHP 5. require_once() /wp-config.php:81 PHP 6. do_action() /wp-settings.php:546 PHP 7. WP_Hook->do_action() /wp-includes/plugin.php:478 PHP 8. WP_Hook->apply_filters() /wp-includes/class-wp-hook.php:311 PHP 9. WCMp->init() /wp-includes/class-wp-hook.php:287 PHP 10. WCMp->init_vendor_dashboard() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp.php:192 PHP 11. WCMp_Admin_Dashboard->__construct() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp.php:391 PHP 12. WCMp_Admin_Dashboard->vendor_withdrawl() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-vendor-dashboard.php:50 PHP 13. WCMp_Gateway_Paypal_Masspay->process_payment() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-vendor-dashboard.php:85 PHP 14. WCMp_Gateway_Paypal_Masspay->record_transaction() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/gateways/class-wcmp-gateway-paypal-masspay.php:46 PHP 15. WCMp_Gateway_Paypal_Masspay->update_meta_data() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-payment-gateway.php:48 PHP 16. WCMp_Gateway_Paypal_Masspay->transfer_charge() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-payment-gateway.php:143 PHP 17. WCMp_Transaction->get_transactions() /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-payment-gateway.php:71
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP Error occurs when vendor tries to withdraw via Vendor Dashboard’ is closed to new replies.