WooCommerce Integration Error
-
I have just installed your plugin on our website (v4.4.3.2) and we currently use WooCommerce v7.5.1 (+WooCommerce Quotation v3.0.7).
For now I have disabled the WooCommerce integration from your plugin as it gave the following error when submitting a quote/order:
[11-Apr-2023 08:43:14 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WSAL_Sensors_WooCommerce::event_order_status_changed(), 3 passed in /path/to/wordpress/wp-includes/class-wp-hook.php on line 308 and exactly 4 expected in /path/to/wordpress/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3337
Stack trace:#0 /path/to/wordpress/wp-includes/class-wp-hook.php(308): WSAL_Sensors_WooCommerce->event_order_status_changed()
#1 /path/to/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /path/to/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /path/to/wordpress/wp-content/plugins/woocommerce-quotation/classes/class.order.quote.php(184): do_action()
#4 /path/to/wordpress/wp-content/plugins/woocommerce-quotation/functions/adq-order-quote.php(508): WC_Quotation_Order->post_process_create_order()
#5 /path/to/wordpress/wp-includes/class-wp-hook.php(310): adq_no_payment_needed_redirect()
#6 /path/to/wordpress/wp-includes/plugin.php(205 in /path/to/wordpress/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 3337
I wanted to bring this to your attention in case it is a bug.
- The topic ‘WooCommerce Integration Error’ is closed to new replies.