Simple Membership Plugin › Forums › Simple Membership Plugin › Fatal error SWPM Zapier Webhook Integration 1.0
- This topic has 1 reply, 2 voices, and was last updated 2 weeks, 4 days ago by
admin.
-
AuthorPosts
-
November 2, 2026 at 4:30 am #32442
michiwangard
ParticipantProblem: With both “Simple Membership” and the “SWPM Zapier Webhook Integration” add-on active, every front-end registration ends in a fatal PHP error (“There has been a critical error on this website”). The member record is created and the confirmation email is sent, but the user never reaches the success page.
Steps to reproduce:
Activate Simple Membership and SWPM Zapier Webhook Integration.
Submit the front-end registration form ([swpm_registration_form]).
The fatal error occurs immediately after submission.Error log:
PHP Fatal Uncaught ArgumentCountError: Too few arguments to function SwpmLog::log_array_data_to_debug(), 1 passed in /wp-content/plugins/swpm-zapier-hook-integration/swpm-zapier-webhook.php(33) and at least 2 expected
Stack trace:
#0 /wp-content/plugins/swpm-zapier-hook-integration/swpm-zapier-webhook.php(33): SwpmLog::log_array_data_to_debug(Array)
#1 /wp-includes/class-wp-hook.php(353): swpm_send_data_to_zapier_webhook(Array)
#2 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(”, Array)
#3 /wp-includes/plugin.php(523): WP_Hook->do_action(Array)
#4 /wp-content/plugins/simple-membership/classes/class.swpm-front-registration.php(203): do_action(‘swpm_front_end_…’, Array)
#5 /wp-content/plugins/simple-membership/classes/class.swpm-init-time-tasks.php(164): SwpmFrontRegistration->register_front_end()
#6 /wp-content/plugins/simple-membership/classes/class.swpm-init-time-tasks.php(49): SwpmInitTimeTasks->register_member()
#7 /wp-content/plugins/simple-membership/classes/class.simple-wp-membership.php(884): SwpmInitTimeTasks->do_init_tasks()
#8 /wp-includes/class-wp-hook.php(353): SimpleWpMembership->init_hook(”)
#9 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array)
#10 /wp-includes/plugin.php(523): WP_Hook->do_action(Array)
#11 /wp-settings.php(779): do_action(‘init’)
thrown in /wp-content/plugins/simple-membership/classes/class.swpm-log.php on line 92Cause (as far as I can tell): In the current core (4.8.6), the signature is
SwpmLog::log_array_data_to_debug( $array_to_write, $success, $end = false ),
so a second argument ($success) is required. The add-on calls it with a single argument in swpm-zapier-webhook.php, line 33, which throws an ArgumentCountError on PHP 8.Environment:
Simple Membership: 4.8.6
SWPM Zapier Webhook Integration: 1.0
WordPress: 7.1.4
PHP: 8.2.35Current state: I had to deactivate the add-on, because it blocks all registrations. As a result, new members cannot be passed on to Zapier at the moment.
Could you please confirm whether an updated version of the add-on is available or planned? If there is a newer build, I’d be glad to test it.
Thanks and best regards,
MichiNovember 2, 2026 at 6:39 am #32452admin
KeymasterHi, Thank you for the detailed report. This was a bug in the Zapier integration add-on itself, not in Simple Membership 4.8.6.
We have released version 1.2 of the add-on with this fixed. You can download it from the same page:
https://simple-membership-plugin.com/zapier-webhook-integration-for-simple-membership-plugin/Version 1.2 also makes setup easier: the Zapier webhook URL is now set in Simple Membership → Settings → Addon Settings instead of in the PHP file, so it’s kept when you update the add-on in the future.
To update:
1) Deactivate and delete the old version (1.0) from the Plugins menu.
2) Upload and activate version 1.2.
3) Go to Simple Membership → Settings → Addon Settings (or click the Settings link under the add-on in the Plugins menu), paste your Zapier Catch Hook URL into the Zapier Webhook URL field, and save.After that, registrations will complete normally and new members will be sent to Zapier again. If anything doesn’t work as expected, enable the debug log in Simple Membership, register a test member, and check the log. It now says clearly whether the data was sent or what went wrong.
-
AuthorPosts
- You must be logged in to reply to this topic.