Thread Starter
tictok
(@tictok)
Yep – that’s the one (https://woocommerce.com/products/woocommerce-waitlist/) . I’ve reached out to their support too.
Give me a couple of mins and I’ll post whatever I find in error log.
Cheers
-
This reply was modified 6 years, 10 months ago by
tictok.
Thread Starter
tictok
(@tictok)
As requested PHP log when trying to add user to waitlist:
[04-Jun-2019 15:59:21 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Kadence_Woomail_Designer::add_email_header(), 1 passed in /Users/stef/Sites/dev-shop/wordpress/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /Users/stef/Sites/dev-shop/wordpress/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php:537
Stack trace:
#0 /Users/stef/Sites/dev-shop/wordpress/wp-includes/class-wp-hook.php(286): Kadence_Woomail_Designer->add_email_header('A user has just...')
#1 /Users/stef/Sites/dev-shop/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /Users/stef/Sites/dev-shop/wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /Users/stef/Sites/dev-shop/wordpress/wp-content/plugins/woocommerce-waitlist/templates/emails/waitlist-new-signup.php(21): do_action('woocommerce_ema...', 'A user has just...')
#4 /Users/stef/Sites/dev-shop/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include('/Users/stef/ in /Users/stef/Sites/dev-shop/wordpress/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php on line 537
Hey,
That error log means that they need to update their files to match woocommerce standards.
In their template “waitlist-new-signup.php” they are missing the second variable that should be there whenever you call the woocommerce email header.
If you look here you can see how woocommerce does it:
https://github.com/woocommerce/woocommerce/blob/master/templates/emails/customer-completed-order.php#L25
Ben
Thread Starter
tictok
(@tictok)
Thanks Ben, I’ll pass on the info to them.
Appreciate you looking into it so quickly.
Cheers
Stef
Thread Starter
tictok
(@tictok)
Incase anyone is interested, Pie Web have told me they should be rolling out an update to WooCommerce Waitlist, hopefully towards the end of this week. The bug referneced above that stops Waitlist working with Kadence Email Designer is now included in the fixes.
In the meantime, I have a quick fix to one of the files to work around the issue for now. I won’t post it here, unless needed by anyone, as this thread if for Kadence Email Designer.
Thanks for your help earlier Ben – troubleshooting not only your plugin but others too!
kind regards