Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajax Error #70

Open
mattish91 opened this issue Dec 13, 2022 · 6 comments
Open

Ajax Error #70

mattish91 opened this issue Dec 13, 2022 · 6 comments

Comments

@mattish91
Copy link

Hi! On our webshop we get "Ajax Error" with no description or any error logs indicating whats wrong. I had to rollback to version 2.1.10 in order to fix it, i also tried to update php from 7.4 to 8.0 and 8.1 with no better luck (stayed on 8.0 for now). Is there any way i can check even more what issues i run in to.

The server is running Nginx 2.2, PHP 8.0 and either log file shows any errors, i also tried WP_DEBUG but error log is empty there as well after sending test email that receives Ajax Error.

@smusmanobjects
Copy link
Collaborator

Hi,

I hope you're doing well, thanks for reporting the issue.

Prove us your Diagnostic Log.

You may find right here:
image

Thanks

@Bonsai-Scale
Copy link

I have the same issue. Here is my log from the diagnostic test.

Mailer: postsmtp
HostName: pittsburghbonsai.org
cURL Version: 7.84.0
OpenSSL Version: OpenSSL/1.1.1p
OS: Linux nyc100.hawkhost.com 3.10.0-962.3.2.lve1.5.70.el7.x86_64 #1 SMP Mon May 30 08:45:55 UTC 2022 x86_64
PHP: Linux 7.4.33 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
WordPress: 6.1.1 en_US UTF-8
WordPress Theme: Pittsburgh Bonsai Society Website
WordPress Plugins: Advanced Custom Fields, Cartpauj Register Captcha, Classic Editor, Confirm User Registration, Decent Comments, Disable Search, LiteSpeed Cache, Mailster - Email Newsletter Plugin for WordPress, Meta Tag Manager, Post SMTP, Really Simple Breadcrumb, Really Simple Gallery Widget, Regenerate Thumbnails Advanced, Resize Image After Upload, Responsive Lightbox & Gallery, Simple Google Sitemap XML, Simple Page Ordering, Titan Framework, User Avatar, WP Cerber Security, Anti-spam & Malware Scan, wp-comment-master, WP EasyCart, WP Social AutoConnect
WordPress wp_mail Owner: /home/vyzedcom/vhost/pittsburghbonsai/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
Postman: 2.4
Postman Sender Domain (Envelope|Message): gmail.com | gmail.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 3669 | 25
Postman Email Log (Enabled|Limit|Transcript Size): Yes | 1000 | 128

@Bonsai-Scale
Copy link

I don't know if this is relevant, but the "connectivity test" shows failure for googleapis, even though mail sent via google does actually get through.

Screen Shot 2023-02-21 at 1 47 02 PM

@Bonsai-Scale
Copy link

Rolling back to earlier versions did not help me. I tried 2.4, 2.1.10, 2.0.27, 2.0. The same error happens on all of them.

@Bonsai-Scale
Copy link

Bonsai-Scale commented Feb 21, 2023

When I reverted back to 2.4, I initially got a different error when I try to send a test email. It is not the Ajax Error, with a generic message, but instead is an ajax error with this message. But later I started getting the generic message again.

> An unexpected error occurred:
> 
> <!DOCTYPE html>
> <html style="height:100%">
> <head>
> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
> <title> 503 Service Unavailable
> </title></head>
> <body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
> <div style="height:auto; min-height:100%; ">     <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
>         <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">503</h1>
> <h2 style="margin-top:20px;font-size: 30px;">Service Unavailable
> </h2>
> <p>The server is temporarily busy, try again later!</p>
> </div></div></body></html>
> 

@Bonsai-Scale
Copy link

I went through the connection wizard again, and checked my GMail API OAuth credentials. I now get a different result from the connectivity test. The Gmail smtp servers show "service available" now, whereas earlier they did not.

Screen Shot 2023-02-21 at 2 45 00 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants