Thanks to your wonderful plugins I noticed that some of my mails were not being sent so I clicked on the “Retry” button of these failed emails and it’s still not working.
I checked the Server Response in the email log of FluentSMTP plugin and all emails have the following error:
Server Response
{
"code": 400,
"message": null,
"errors": [
null
],
"fallback": "Tried to send using fallback but failed. My name",
"fallback_response": {
"code": 400,
"message": null,
"errors": [
null
]
}
}
Some emails have almost the same message but with some part translated into French (my website is bilingual English/French and using WPML):
Server Response
{
"code": 400,
"message": null,
"errors": [
null
],
"fallback": "Essai d’envoi à l’aide d’une solution de repli, mais échec. My name",
"fallback_response": {
"code": 400,
"message": null,
"errors": [
null
]
}
}
Then I checked the PHP Error log and noticed this error:
PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in wp-includes/PHPMailer/PHPMailer.php:1877
Stack trace:
#0 wp-includes/PHPMailer/PHPMailer.php(1877): preg_match()
#1 wp-includes/PHPMailer/PHPMailer.php(1889): PHPMailer\PHPMailer\PHPMailer::isPermittedPath()
#2 wp-includes/PHPMailer/PHPMailer.php(3267): PHPMailer\PHPMailer\PHPMailer::fileIsAccessible()
#3 wp-content/plugins/fluent-smtp/app/Functions/helpers.php(577): PHPMailer\PHPMailer\PHPMailer->addAttachment()
#4 wp-content/plugins/fluent-smtp/fluent-smtp.php(49): fluentMailSend()
#5 wp-content/plugins/fluent-smtp/app/Models/Logger.php(389): wp_mail()
#6 wp-content/plugins/fluent-smtp/app/Http/Controllers/LoggerController.php(66): FluentMail\App\Models\Logger->resendEmailFromLog()
#7 [internal function]: FluentMail\App\Http\Controllers\LoggerController->retry()
#8 wp-content/plugins/fluent-smtp/includes/Core/Container.php(507): call_user_func_array()
#9 wp-content/plugins/fluent-smtp/includes/Core/Container.php(633): FluentMail\Includes\Core\Container->call()
#10 wp-content/plugins/fluent-smtp/includes/Core/Container.php(502): FluentMail\Includes\Core\Container->callClass()
#11 wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(73): FluentMail\Includes\Core\Container->call()
#12 wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(31): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
#13 wp-includes/class-wp-hook.php(324): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
#14 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#15 wp-includes/plugin.php(517): WP_Hook->do_action()
#16 wp-admin/admin-ajax.php(192): do_action()
#17 {main}
thrown in wp-includes/PHPMailer/PHPMailer.php on line 1877
This error is happening everytime I try to resend an email.
I’m using 2 emails with a paid Elastic Email account. Everyting is alright on Elastic Email part (no quota exceeded I checked).
I tried to add an email fallback with my regular SMTP from my domain name and email provider but as it’s the same email used with Elastic Email, when I try to create the connection it says:
“Another connection with same email address exist. This connection will replace that connection”
I’ve run out of ideas… So please tell me how can I fix this issue?
PS: I’m also a customer using both Pro version of FluentCRM and FluentForms. Should I use another method to contact your support?
]]>The following situation:
I use the Formidable plugin on this website (customer of mine). It also worked for a while. Now I have noticed that after creating a new form, the mails are not arriving.
I have installed your plugin and get the following error:
PHPMailer was able to connect to SMTP server but failed while trying to send an email.
I have already been to Formidable support with this. They think that the error indicates that Formidable is running correctly and the error only occurs afterwards and have recommended that I contact you.
I have already made a copy of the page and installed it locally on my computer. I have used a mailbox from my web host to ensure that the mail dispatch works.
(As a reminder, this is a customer website).
Here the mail dispatch worked with all settings and activated plugins as on the live server.
I noticed that there are differences in the server versions.
Is this perhaps the cause?
Below are both WordPress reports for comparison.
Otherwise:
In the settings, I made sure that the sender of the mail in the URL matches the URL of the website.
Thanks for your help!
LIVE SERVER:
`
### wp-core ###
version: 6.5.2
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 4
dotorg_communication: true
### wp-paths-sizes ###
wordpress_path: XXX
wordpress_size: 1,64 GB (1759260383 bytes)
uploads_path: XXX/wp-content/uploads
uploads_size: 110,25 MB (115608610 bytes)
themes_path: XXX/wp-content/themes
themes_size: 11,85 MB (12422521 bytes)
plugins_path: XXX/wp-content/plugins
plugins_size: 142,39 MB (149305548 bytes)
database_size: 119,13 MB (124911616 bytes)
total_size: 2,01 GB (2161508678 bytes)
### wp-active-theme ###
name: rdh. Theme by Kuki Design (genesis-sample)
version: 3.4.0
author: StudioPress
author_website: https://www.studiopress.com/
parent_theme: Genesis (genesis)
theme_features: core-block-patterns, menus, post-thumbnails, title-tag, automatic-feed-links, body-open, genesis-inpost-layouts, genesis-archive-layouts, genesis-admin-menu, genesis-import-export-menu, genesis-readme-menu, genesis-customizer-theme-settings, genesis-customizer-seo-settings, genesis-auto-updates, genesis-breadcrumbs, genesis-menus, genesis-structural-wraps, widgets, widgets-block-editor, genesis-custom-logo, html5, genesis-accessibility, genesis-after-entry-widget-area, genesis-footer-widgets, custom-logo, editor-styles, editor-style, align-wide, responsive-embeds, custom-line-height, custom-units, editor-font-sizes, editor-color-palette
theme_path: XXX/wp-content/themes/genesis-sample
auto_update: Auto-updates are not available for this theme.
### wp-parent-theme ###
name: Genesis (genesis)
version: 3.5.0
author: StudioPress
author_website: https://www.studiopress.com/
theme_path: XXX/wp-content/themes/genesis
auto_update: Enable update checks at Appearance → Customize → Theme Settings → Updates.
### wp-themes-inactive (1) ###
Twenty Twenty-Four: version: 1.1, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
### wp-plugins-active (15) ###
Borlabs Cookie - Cookie Opt-in: version: 2.2.67, author: Borlabs GmbH, Automatische Aktualisierungen deaktiviert
Classic Editor: version: 1.6.3, author: WordPress Contributors, Automatische Aktualisierungen deaktiviert
Duplicate Page: version: 4.5.3, author: mndpsingh287, Automatische Aktualisierungen deaktiviert
Duplicator: version: 1.5.9, author: Duplicator, Automatische Aktualisierungen deaktiviert
Formidable Forms: version: 6.9, author: Strategy11 Form Builder Team, Automatische Aktualisierungen deaktiviert
LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: version: 2.6.11, author: Themeisle, Automatische Aktualisierungen deaktiviert
Page Builder by SiteOrigin: version: 2.29.13, author: SiteOrigin (latest version: 2.29.15), Automatische Aktualisierungen deaktiviert
Popup Maker: version: 1.18.5, author: Popup Maker, Automatische Aktualisierungen deaktiviert
SiteOrigin Widgets Bundle: version: 1.59.0, author: SiteOrigin (latest version: 1.60.0), Automatische Aktualisierungen deaktiviert
UpdraftPlus - Backup/Restore: version: 1.24.2, author: UpdraftPlus.Com, DavidAnderson (latest version: 1.24.3), Automatische Aktualisierungen deaktiviert
User Role Editor: version: 4.64.2, author: Vladimir Garagulya, Automatische Aktualisierungen deaktiviert
Wordfence Security: version: 7.11.5, author: Wordfence, Automatische Aktualisierungen deaktiviert
wpDataTables - Tables & Table Charts: version: 3.4.2.11, author: TMS-Plugins (latest version: 3.4.2.12), Automatische Aktualisierungen deaktiviert
WP Mail SMTP: version: 4.0.1, author: WP Mail SMTP, Automatische Aktualisierungen deaktiviert
Yoast SEO: version: 22.5, author: Team Yoast (latest version: 22.6), Automatische Aktualisierungen deaktiviert
### wp-plugins-inactive (2) ###
Ninja Forms: version: 3.8.2, author: Saturday Drive (latest version: 3.8.3), Automatische Aktualisierungen deaktiviert
WP Mail Logging: version: 1.12.0, author: WP Mail Logging Team, Automatische Aktualisierungen deaktiviert
### wp-media ###
image_editor: WP_Image_Editor_GD
imagick_module_version: Nicht verfügbar
imagemagick_version: Nicht verfügbar
imagick_version: Nicht verfügbar
file_uploads: 1
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
gd_version: 2.3.0
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.53.3
### wp-server ###
server_architecture: Linux 4.4.400-icpu-099 x86_64
httpd_software: Apache
php_version: 8.0.30 64bit
php_sapi: cgi-fcgi
max_input_variables: 5000
time_limit: 50000
memory_limit: -1
max_input_time: -1
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.74.0 OpenSSL/1.1.1w
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-05-03T05:07:10+00:00
utc-time: Friday, 03-May-24 05:07:10 UTC
server-time: 2024-05-03T07:07:07+02:00
### wp-database ###
extension: mysqli
server_version: 5.7.42-log
client_version: mysqlnd 8.0.30
max_allowed_packet: 67108864
max_connections: 3000
### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: XXX/wp-content
WP_PLUGIN_DIR: XXX/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: -1
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Nicht definiert
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable
### genesis ###
update: 1
blog_title: text
site_layout: content-sidebar
nav_extras_twitter_text: Follow me on Twitter
content_archive: full
content_archive_thumbnail: true
image_size: large
image_alignment: aligncenter
posts_nav: numeric
blog_cat_num: 6
theme_version: 3.3.3
db_version: 3301
first_version: 2.0.2
content_archive_limit: 150
entry_meta_before_content: [post_date] [post_comments] [post_edit]
entry_meta_after_content: [post_categories] [post_tags]
upgrade: 1
### wp_mail_smtp ###
version: 4.0.1
license_key_type: lite
debug: Keine Debug-Hinweise gefunden.
lite_install_date: Apr 25, 2024 @ 1:57pm
</code></pre>
<p>LOCAL: </p>
<pre class="wp-block-code"><code>`
### wp-core ###
version: 6.5.2
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 4
dotorg_communication: true
### wp-paths-sizes ###
wordpress_path: /var/www/html
wordpress_size: 137,25 MB (143921483 bytes)
uploads_path: /var/www/html/wp-content/uploads
uploads_size: 91,68 MB (96134644 bytes)
themes_path: /var/www/html/wp-content/themes
themes_size: 6,18 MB (6484411 bytes)
plugins_path: /var/www/html/wp-content/plugins
plugins_size: 169,67 MB (177911033 bytes)
database_size: 147,34 MB (154501120 bytes)
total_size: 552,13 MB (578952691 bytes)
### wp-active-theme ###
name: rdh. Theme by Kuki Design (genesis-sample)
version: 3.4.0
author: StudioPress
author_website: https://www.studiopress.com/
parent_theme: Genesis (genesis)
theme_features: core-block-patterns, menus, post-thumbnails, title-tag, automatic-feed-links, body-open, genesis-inpost-layouts, genesis-archive-layouts, genesis-admin-menu, genesis-import-export-menu, genesis-readme-menu, genesis-customizer-theme-settings, genesis-customizer-seo-settings, genesis-auto-updates, genesis-breadcrumbs, genesis-menus, genesis-structural-wraps, widgets, widgets-block-editor, genesis-custom-logo, html5, genesis-accessibility, genesis-after-entry-widget-area, genesis-footer-widgets, custom-logo, editor-styles, editor-style, align-wide, responsive-embeds, custom-line-height, custom-units, editor-font-sizes, editor-color-palette
theme_path: /var/www/html/wp-content/themes/genesis-sample
auto_update: Auto-updates are not available for this theme.
### wp-parent-theme ###
name: Genesis (genesis)
version: 3.5.0
author: StudioPress
author_website: https://www.studiopress.com/
theme_path: /var/www/html/wp-content/themes/genesis
auto_update: Enable update checks at Appearance → Customize → Theme Settings → Updates.
### wp-themes-inactive (1) ###
Twenty Twenty-Four: version: 1.1, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
### wp-plugins-active (15) ###
Borlabs Cookie - Cookie Opt-in: version: 2.2.67, author: Borlabs GmbH, Automatische Aktualisierungen deaktiviert
Classic Editor: version: 1.6.3, author: WordPress Contributors, Automatische Aktualisierungen deaktiviert
Duplicate Page: version: 4.5.3, author: mndpsingh287, Automatische Aktualisierungen deaktiviert
Duplicator: version: 1.5.9, author: Duplicator, Automatische Aktualisierungen deaktiviert
Formidable Forms: version: 6.9, author: Strategy11 Form Builder Team, Automatische Aktualisierungen deaktiviert
LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: version: 2.6.11, author: Themeisle, Automatische Aktualisierungen deaktiviert
Page Builder by SiteOrigin: version: 2.29.13, author: SiteOrigin (latest version: 2.29.15), Automatische Aktualisierungen deaktiviert
Popup Maker: version: 1.18.5, author: Popup Maker, Automatische Aktualisierungen deaktiviert
SiteOrigin Widgets Bundle: version: 1.59.0, author: SiteOrigin (latest version: 1.60.0), Automatische Aktualisierungen deaktiviert
UpdraftPlus - Backup/Restore: version: 1.24.2, author: UpdraftPlus.Com, DavidAnderson (latest version: 1.24.3), Automatische Aktualisierungen deaktiviert
User Role Editor: version: 4.64.2, author: Vladimir Garagulya, Automatische Aktualisierungen deaktiviert
Wordfence Security: version: 7.11.5, author: Wordfence, Automatische Aktualisierungen deaktiviert
wpDataTables - Tables & Table Charts: version: 3.4.2.11, author: TMS-Plugins (latest version: 3.4.2.12), Automatische Aktualisierungen deaktiviert
WP Mail SMTP: version: 4.0.1, author: WP Mail SMTP, Automatische Aktualisierungen deaktiviert
Yoast SEO: version: 22.5, author: Team Yoast (latest version: 22.6), Automatische Aktualisierungen deaktiviert
### wp-plugins-inactive (2) ###
Ninja Forms: version: 3.8.2, author: Saturday Drive (latest version: 3.8.3), Automatische Aktualisierungen deaktiviert
WP Mail Logging: version: 1.12.0, author: WP Mail Logging Team, Automatische Aktualisierungen deaktiviert
### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.6.0
file_uploads: 1
post_max_size: 8M
upload_max_filesize: 2M
max_effective_size: 2 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 512 MB
imagick::RESOURCETYPE_MEMORY: 256 MB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: 9.53.3
### wp-server ###
server_architecture: Linux 6.6.22-linuxkit x86_64
httpd_software: Apache/2.4.56 (Debian)
php_version: 8.0.30 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 30
memory_limit: 256M
max_input_time: -1
upload_max_filesize: 2M
php_post_max_size: 8M
curl_version: 7.74.0 OpenSSL/1.1.1w
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-05-03T05:09:58+00:00
utc-time: Friday, 03-May-24 05:09:58 UTC
server-time: 2024-05-03T07:09:51+02:00
### wp-database ###
extension: mysqli
server_version: 8.0.30
client_version: mysqlnd 8.0.30
max_allowed_packet: 67108864
max_connections: 151
### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/html/wp-content
WP_PLUGIN_DIR: /var/www/html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Nicht definiert
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable
### genesis ###
update: 1
blog_title: text
site_layout: content-sidebar
nav_extras_twitter_text: Follow me on Twitter
content_archive: full
content_archive_thumbnail: true
image_size: large
image_alignment: aligncenter
posts_nav: numeric
blog_cat_num: 6
theme_version: 3.3.3
db_version: 3301
first_version: 2.0.2
content_archive_limit: 150
entry_meta_before_content: [post_date] [post_comments] [post_edit]
entry_meta_after_content: [post_categories] [post_tags]
upgrade: 1
### wp_mail_smtp ###
version: 4.0.1
license_key_type: lite
debug: Keine Debug-Hinweise gefunden.
lite_install_date: Apr 25, 2024 @ 1:57pm
]]>After a lot of tests I found out that the problem is not the new hosting itself but the fact that I disabled the plugin WP Mail SMTP. In the old hosting it was “mandatory” to send the emails but in the new one the email are send even without it so it has been disabled to simplify things and remove a plugin.
I came to this conclusion after comparing the email sent from the old hosting with the emails sent with the new one, and the only thing that changed was the mailer: PHPMailer 6.8.1 instead of WPMailSMTP/Mailer/smtp 3.11.0
Am I doing something wrong? Do I need to add some specific headers to be able to send attachments without SMTP? Is this intended or it is a sort of bug?
Thank you
]]>Seit neustem kommt folgender Fehler, wenn Mann auf die Website geht, ob normal oder über WP-Admin.
PHP Version ist 8.2. Plugin Updates wurden gemacht.
Bitte um Hilfe, habe nicht viel Erfahrung und wei? hier nicht weiter. Danke.
Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /var/www/web1006/html/wp-includes/PHPMailer/PHPMailer.php:874 Stack trace: #0 /var/www/web1006/html/wp-includes/PHPMailer/PHPMailer.php(1961): PHPMailer\PHPMailer\PHPMailer->mailPassthru(‘info@tischlerei…’, ‘=?UTF-8?Q?[tisc…’, ‘<!DOCTYPE html …’, ‘Date: Tue, 7 No…’, NULL) #1 /var/www/web1006/html/wp-includes/PHPMailer/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend(‘Date: Tue, 7 No…’, ‘<!DOCTYPE html …’) #2 /var/www/web1006/html/wp-includes/PHPMailer/PHPMailer.php(1518): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /var/www/web1006/html/wp-includes/pluggable.php(546): PHPMailer\PHPMailer\PHPMailer->send() #4 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/lib/class-itsec-mail.php(890): wp_mail(Array, ‘[tischlerei-buh…’, ‘<!DOCTYPE html …’, Array, Array) #5 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/modules/notification-center/class-notification-center.php(532): ITSEC_Mail->send() #6 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/notify.php(213): ITSEC_Notification_Center->send(‘digest’, Object(ITSEC_Mail)) #7 /var/www/web1006/html/wp-includes/class-wp-hook.php(324): ITSEC_Notify->send_daily_digest(false, 1695947107, Array) #8 /var/www/web1006/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #9 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/modules/notification-center/class-notification-center.php(800): apply_filters(‘itsec_send_noti…’, false, 1695947107, Array) #10 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/modules/notification-center/class-notification-center.php(750): ITSEC_Notification_Center->send_scheduled_notification(‘digest’) #11 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/modules/notification-center/class-notification-center.php(721): ITSEC_Notification_Center->send_scheduled_notifications(Array) #12 /var/www/web1006/html/wp-content/plugins/better-wp-security/core/modules/notification-center/class-notification-center.php(677): ITSEC_Notification_Center->check_notification_schedule_accurate(Array) #13 /var/www/web1006/html/wp-includes/class-wp-hook.php(324): ITSEC_Notification_Center->check_notification_schedule_fast(”) #14 /var/www/web1006/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /var/www/web1006/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #16 /var/www/web1006/html/wp-settings.php(643): do_action(‘init’) #17 /var/www/web1006/html/wp-config.php(124): require_once(‘/var/www/web100…’) #18 /var/www/web1006/html/wp-load.php(50): require_once(‘/var/www/web100…’) #19 /var/www/web1006/html/wp-admin/admin.php(34): require_once(‘/var/www/web100…’) #20 /var/www/web1006/html/wp-admin/index.php(10): require_once(‘/var/www/web100…’) #21 {main} thrown in /var/www/web1006/html/wp-includes/PHPMailer/PHPMailer.php on line 874
]]>I have a very annoying problem. I get the “There has been a critical error on this website. Please check your site admin email inbox for instructions.” error message whenever I login to the website, but I can’t understand why since everything seem to work just fine both backend and frontend? Any clues why it does like this?
]]>Is forminator using mail(), phpmailer, smtp or something else? Is it some configuration that the others are not doing? Im seeing if someone can quickly answer me before I start going through the headers and the code as it seems like something really simple but its not my area of expertise.
The error from the other forms was
]]>A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:Sorry! This server is unable to send email from this domain:
*******.com. Please try sending from a domain on this server.
PHP Deprecated: File class-phpmailer.php is <strong>deprecated</strong> since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /var/www/mcmo.is/wp-includes/functions.php on line 5603
I don’t know what this error means, what is causing it, where it is coming from (a plugin or the current theme?), or how to fix it.
QUESTION:
Could someone please tell me what this error means, what is causing it, where it its coming from and how to fix it? Thanks.
]]>Hi, I’ve looked on the forum for similar issues and got a few pointers but thought I’d post my own issue.
Newly developed website set up with Divi Theme. All seems to be working so far apart from one main issue.
If a comment is submitted on a post the critical error screen is shown but the comment is still created and shows on the dashboard/website.
I’ve disabled all plugins with no change in the error. Tried a basic theme such as Twenty Twenty Three but cannot access the blog posts to recreate the problem.
My hosting providers iPage based in the USA. Running PHP 7.4 which is the latest available.
I’ve read about the PHPMailer extension and CTYPE? but this getting into areas I do not understand. I have an IT background but not in website building!
Any help greatly appreciated.
Debug log shown below.
Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\ctype_alnum() in /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/PHPMailer/PHPMailer.php:1849 Stack trace: #0 /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/PHPMailer/PHPMailer.php(1938): PHPMailer\PHPMailer\PHPMailer::isShellSafe(‘[email protected]…’) #1 /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/PHPMailer/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend(‘Date: Thu, 8 Ju…’, ‘A new comment o…’) #2 /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/PHPMailer/PHPMailer.php(1518): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/pluggable.php(544): PHPMailer\PHPMailer\PHPMailer->send() #4 /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/pluggable.php(2025): wp_mail(Array, ‘[Been Busy Craf…’, ‘A new in /hermes/bosnacweb08/bosnacweb08bg/b109/ipg.grannyshousemakes/wp-bbc/wp-includes/PHPMailer/PHPMailer.php on line 1849
]]>PHP Fatal error: Uncaught Error: Class "PHPMailer" not found in /wp-content/plugins/unyson/framework/extensions/mailer/includes/send-methods/class-fw-ext-mailer-send-method-smtp.php:137
Stack trace:
#0 /wp-content/plugins/unyson/framework/extensions/mailer/class-fw-extension-mailer.php(96): FW_Ext_Mailer_Send_Method_SMTP->send(Object(FW_Ext_Mailer_Email), Array, Array)
#1 /wp-content/plugins/unyson/framework/extensions/mailer/includes/option-type-mailer/class-fw-option-type-mailer.php(204): FW_Extension_Mailer->send('xxxx@gmail....', 'Test Subject', '<strong>Test Me...', Array, Array)
#2 /wp-includes/class-wp-hook.php(308): FW_Option_Type_Mailer->_action_ajax_test_connection('')
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /wp-admin/admin-ajax.php(188): do_action('wp_ajax_fw_ext_...')
#6 {main}
thrown in /wp-content/plugins/unyson/framework/extensions/mailer/includes/send-methods/class-fw-ext-mailer-send-method-smtp.php on line 137
]]>So far I’ve tried…
1. Installing composer in my public_html as per hostinger’s instructions
composer2 require phpmailer/phpmailer
phpmailer installs no problem, i still get the fatal error when i try to send a form
2. Installing composer in /public_html/rebelcitytour.com/wp-includes/
phpmailer installs fine, still get error.
3. creating a soft link to resolve the path issue…
cd /home/uxxxxxxxx/domains/rebelcitytour.com/public_html/wp-includes/
ln -s /home/uxxxxxx/domains/rebelcitytour.com/public_html/vendor/phpmailer/phpmailer
Composer has installed phpmailer at…
path : /home/uxxxxxx/domains/rebelcitytour.com/public_html/vendor/phpmailer/phpmailer
any help would be great!
]]>