Things were working great, but now completion of event bookings are not firing off POSTs to Zapier. I was wondering how to possibly turn on internal logging in amelia - when does the webhook fire off exactly? I am wondering if it is something on our server/hosting/Wordfence?? that has changed.
Hi, I have figured out how Amelia works (I assume) - admin-ajax.php gets called which triggers various things like invocation of webhooks. I turned on WP debugging and this showed up in the logs:
stream_select(): unable to select [4]: Interrupted system call (max_fd=16) in ...../wp-content/plugins/ameliabooking/vendor/phpmailer/phpmailer/src/SMTP.php on line 1169
the call to admin-ajx.php from my IP is returning a 500 -- "
which I assume is a result of this stream_select problem.
PHP is reporting it only as a warning, but given i'm not getting email confirmation of my booking, my theory now is this problem is causing the 500 and so everything breaks. any ideas?
Update: I recently added PHPMailer to handle sending emails from the website so they go thru a SMTP server instead of using PHP's mail()/sendmail directly. This may be a factor in Amelia having email related problems.
Problem solved. I had Amelia initially configured to send mail using SMTP and that apparently was conflicting with the Post SMTP plugin which also was using the SMTP account. Amelia is now configured to use "WP Mail" and so everything is handled by Post SMTP. no more 500s...
Hi,
Things were working great, but now completion of event bookings are not firing off POSTs to Zapier. I was wondering how to possibly turn on internal logging in amelia - when does the webhook fire off exactly? I am wondering if it is something on our server/hosting/Wordfence?? that has changed.
thanks
doug
Hi, I have figured out how Amelia works (I assume) - admin-ajax.php gets called which triggers various things like invocation of webhooks. I turned on WP debugging and this showed up in the logs:
stream_select(): unable to select [4]: Interrupted system call (max_fd=16) in ...../wp-content/plugins/ameliabooking/vendor/phpmailer/phpmailer/src/SMTP.php on line 1169
the call to admin-ajx.php from my IP is returning a 500 -- "
"POST /wp-admin/admin-ajax.php?action=wpamelia_api&call=/bookings/success/181 HTTP/1.1" 500 739 "https://www.methodacting.co.uk/book-class/""
which I assume is a result of this stream_select problem.
PHP is reporting it only as a warning, but given i'm not getting email confirmation of my booking, my theory now is this problem is causing the 500 and so everything breaks. any ideas?
Update: I recently added PHPMailer to handle sending emails from the website so they go thru a SMTP server instead of using PHP's mail()/sendmail directly. This may be a factor in Amelia having email related problems.
Problem solved. I had Amelia initially configured to send mail using SMTP and that apparently was conflicting with the Post SMTP plugin which also was using the SMTP account. Amelia is now configured to use "WP Mail" and so everything is handled by Post SMTP. no more 500s...
Hello Douglas
Thank you for letting us know the issue is resolved.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables