Fatal Error with Post SMTP plugin
-
When viewing the Email Log page in Post SMTP plugin, it fails with a fatal error if the Dotdigital WordPress plugin is active:
[Mon May 13 12:52:28.739677 2024] [proxy_fcgi:error] [pid 2266732] [client 91.194.74.33:50976] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, array given in /public_html/wp-includes/formatting.php:4494 Stack trace: #0 /public_html/wp-includes/formatting.php(4494): ltrim() #1 /public_html/wp-includes/formatting.php(4620): esc_url() #2 /public_html/wp-includes/formatting.php(4602): sanitize_url() #3 /public_html/wp-content/plugins/dotmailer-sign-up-widget/admin/page/tab/class-dotdigital-wordpress-datafields-admin.php(243): esc_url_raw() #4 /public_html/wp-content/plugins/dotmailer-sign-up-widget/admin/page/tab/class-dotdigital-wordpress-datafields-admin.php(54): Dotdigital_WordPress\Admin\Page…', referer: https://mywebsite.com/wp-admin/admin.php?page=postman_email_log
This seems like a bug with the DotDigital plugin as when it is deactivated the email log can be viewed fine.
I’ve not looked at the plugin code but it seems that conditions for the hook/action to run in the DotDigital plugin are not sufficiently restrictive as it should probably not be running on this page.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error with Post SMTP plugin’ is closed to new replies.