akshaykatale
Forum Replies Created
-
Getting the same error on dokan latest version. and these errors are appearing after I update the plugin to the latest version. the previous version was working without any issue. also, I found that some hooks from dokan were also affected. please check this ASAP.
error from the hook
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WeDevs\Dokan\Vendor\VendorCache::after_created_new_wp_user(), 1 passed in /home1/wadpds6o/bidcv2.wadpdev.tech/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /home1/wadpds6o/bidcv2.wadpdev.tech/wp-content/plugins/dokan-lite/includes/Vendor/VendorCache.php:83 Stack trace: #0 /home1/wadpds6o/bidcv2.wadpdev.tech/wp-includes/class-wp-hook.php(287): WeDevs\Dokan\Vendor\VendorCache->after_created_new_wp_user(802) #1 /home1/wadpds6o/bidcv2.wadpdev.tech/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home1/wadpds6o/bidcv2.wadpdev.tech/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home1/wadpds6o/bidcv2.wadpdev.tech/wp-includes/user.php(2118): do_action('user_register', 802) #4 /home1/wadpds6o/bidcv2.wadpdev.tech/wp-content/plugins/woocommerce/includes/wc-user-functions.php(99): wp_insert_user(Array) #5 /home1/wadpds6o/bidcv2.wadpdev.tech/wp-content/plugins/woocommerce/includes/class-wc-form-handler.p in /home1/wadpds6o/bidcv2.wadpdev.tech/wp-content/plugins/dokan-lite/includes/Vendor/VendorCache.php on line 83