dblinks
Forum Replies Created
-
I still get this Jetpack issue, you mentioned compliance before – has this been addressed yet?
Thanks,
StuNO I am wrong. That code is not working. Is is supposed to be between single (‘) marks or in your example you show double (“) ???
I rolled back to 1.9.7 – That definitely works for me now.
thx
stuThis appears to work from your other support thread:
throw new TypeException(
‘{$emailAddress} must be valid and of type string.’
);
}What is incredibly strange the new plugin works on some sites with the same setup. Now I’m totally confused.
thx
stuSo now I’m back to and issue on our server using NGINX and PHP7.0 these have been in service at least 3 years with your plugin, so since 2.0.1 we have probably 30 sites failing on 2 machines like this, no other errors getting “$emailAddress must be valid and of type string.”
I reset the sendgrid api key and reset the plugin using your tool like I did above in the original ticket. no go:(
Errors are one from your test email tool and one from a form onsite:
2019/05/17 11:23:01 [error] 57873#57873: *1856365 FastCGI sent in stderr: “PHP message: ERROR PostmanWpMail: SendGrid\Mail\TypeException code=0 message=$emailAddress must be valid and of type string.
PHP message: ERROR PostmanSendTestEmailAjaxController: Test Email NOT delivered to server – 0” while reading response header from upstream, client: 208.xx.36.xxx, server: domain.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/ajenti-v-php7.0-fcgi-domainsa1-php7.0-fcgi-0.sock:”, host: “domain.com”, referrer: “https://domain.com/wp-admin/admin.php?page=postman%2Femail_test”2019/05/17 11:21:30 [error] 57874#57874: *1856281 FastCGI sent in stderr: “PHP message: ERROR PostmanWpMail: SendGrid\Mail\TypeException code=0 message=$emailAddress must be valid and of type string.
PHP message: ERROR PostmanWpMail: SendGrid\Mail\TypeException code=0 message=$emailAddress must be valid and of type string” while reading response header from upstream, client: 208.xx.36.xxx, server: domain.com, request: “POST /contact-us/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/ajenti-v-php7.0-fcgi-domainsa1-php7.0-fcgi-0.sock:”, host: “domain.com”, referrer: “https://domain.com/contact-us/”I have restarted php and nginx, disabled other plugins still cannot get it to work.
We all appreciate your hard work on this now I’m a bit lost hoping there is a fix.
thx
stuI “reset” the plugin with your built in tool. I think settings from the old server or database conflicted. I reset the Sendgrid API Key. All is working fine now. Sorry to be trouble, thanks for a great plugin.
stu
The debug log is not big, just these lines.
[08-May-2019 13:27:03 UTC] ERROR PostmanWpMail: Exception code=0 message=ERROR: Status code is 401
[08-May-2019 13:27:03 UTC] ERROR PostmanSendTestEmailAjaxController: Test Email NOT delivered to server – 0Similar to the PHP error log.
2019/05/08 09:09:05 [error] 26337#26337: *129 FastCGI sent in stderr: “PHP message: ERROR PostmanWpMail: Exception code=0 message=ERROR: Status code is 401
PHP message: ERROR PostmanSendTestEmailAjaxController: Test Email NOT delivered to server – 0” while reading response header from upstream, client: 98.xxx.69.xxx, server: server.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/ajenti-v-php7.2-fcgi-domain-php7.2-fcgi-0.sock:”, host: “server.com”, referrer: “https://server.com/wp-admin/admin.php?page=postman%2Femail_test”—
thanks
stuUpdate
Sending the message: Failed (was ajax error previously)
Status: 401I installed mbstring for php7.2 after reading about similar server errors. Now it says just “Failed” instead of “Ajax Error”.
It appears mcrypt is not supported in php7.2. Is mcrypt a requirement of the plugin?
thanks!
stuThis is the exact same server setup as we use in dozens of production sites that have php7.0 (php7.0-fpm) on Ubuntu 16.04 with NGINX. The mail continues to send perfectly from other plugins and the Post SMTP test email tool.
Across the board on a new server none of the sendgrid emails send, the test email tool presents the red “Ajax Error” and the php output above in my first issue. The only difference on this server is it is PHP7.2 Ubuntu 18.04 NGINX
- This reply was modified 5 years, 6 months ago by dblinks.
Are you using Sendgrid API ??
I’m getting the same “Ajax Error” but without Wordfence (I don’t use Wordfence). There may be a stray value in my database I haven’t tracked down yet.
I referenced my php output failure here: https://www.ads-software.com/support/topic/php7-2-upgrade-sendgrid-failure/
Forum: Plugins
In reply to: [AMP WP - Google AMP For WordPress] 2 sites – Only 1 Works as ExpectedThis fix works. Although it is a bit difficult to implement with caches and permalinks it takes a few minutes to start.
I appreciate your plugin and good work.
thx
stuI emailed you using the form on your website (pixelative). This has become an issue again, either with the plugin or a new non-validation due to Jetpacks latest update. Please advise.
thanks!
stuThanks Moshin !
At first it appeared to work, then just after you asked the last question I got an email from Google that some of the AMP pages were failing again.
Definitely associated (again) with Jetpack. Your plugins share icons all work as expected on the amp pages on phones, and I don’t see anything actually broken on the amp page but the error is on the Google/AMP tester console.
I certainly appreciate your attentiveness to the support request, holidays and all… As you pointed out also we have experienced that failures in the wireless environment of a restaurant can be daunting at best.
Regardless of a few php errors being thrown we have proven the reliability of your plugin in a controlled office setting and it works flawlessly, wired or wirelessly.
We will follow up with other findings as they occur and thanks for such great service again.
Sincerely,
StuI removed the share links from Jetpack and AMP now validates. I would still like to have a sharing solution as this removes sharing from AMP and Non AMP pages.
thanks
stu