Home › Forums › Newsletter Plugin Support › Error when previewing
- This topic has 5 replies, 2 voices, and was last updated 1 day, 11 hours ago by
Killer PCs Inc..
-
AuthorPosts
-
May 9, 2025 at 7:58 pm #344071
Killer PCs Inc.
ParticipantSince the latest update, I’ve been seeing the following in the PHP error log:
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/SITE.com/html/wp-content/plugins/newsletter-automated/preview.php:30
Timestamp: 2025-05-09 17:38:35 UTC
Stack Trace
———–
1. {anonymous}()
/var/www/SITE.com/html/wp-content/plugins/newsletter-automated/preview.php:30
2. include()
/var/www/SITE.com/html/wp-content/plugins/newsletter-automated/plugin.php:108
3. NewsletterAutomated->hook_newsletter_action()
/var/www/SITE.com/html/wp-includes/class-wp-hook.php:326
4. WP_Hook->apply_filters()
/var/www/SITE.com/html/wp-includes/class-wp-hook.php:348
5. WP_Hook->do_action()
/var/www/SITE.com/html/wp-includes/plugin.php:517
6. do_action()
/var/www/SITE.com/html/wp-content/plugins/newsletter/plugin.php:314
7. Newsletter->do_action()
/var/www/SITE.com/html/wp-content/plugins/newsletter/plugin.php:281
8. Newsletter->hook_wp_loaded()
/var/www/SITE.com/html/wp-includes/class-wp-hook.php:324
9. WP_Hook->apply_filters()
/var/www/SITE.com/html/wp-includes/class-wp-hook.php:348
10. WP_Hook->do_action()
/var/www/SITE.com/html/wp-includes/plugin.php:517
11. do_action()
/var/www/SITE.com/html/wp-settings.php:749
12. require_once(‘/var/www/SITE.c…’)
/var/www/SITE.com/html/wp-config.php:118
13. require_once(‘/var/www/SITE.c…’)
/var/www/SITE.com/html/wp-load.php:50
14. require_once(‘/var/www/SITE.c…’)
/var/www/SITE.com/html/wp-blog-header.php:13
15. require(‘/var/www/SITE.c…’)
/var/www/SITE.com/html/index.php:17Context
——-
URL : /?ts=1746812314&real=1&na=automated-preview&id=1&_wpnonce=4492de01e4
Referer : https://SITE.com/wp-admin/admin.php?page=newsletter_automated_edit&id=1
HTTP Method : GET
HTTP Host : SITE.com
HTTP Status : 200
isSSL : Yes
Current Filter : wp_loaded, newsletter_action
Execution Time : 0.282 s
Memory Usage : 18.34 MiB
PHP SAPI : fpm-fcgiMay 9, 2025 at 10:07 pm #344076Stefano
KeymasterHi, could you check the versions of the Automated Addon and the Newsletter plugin?
Even using a not updated Automated addon, you should not have that error.May 9, 2025 at 10:35 pm #344084Killer PCs Inc.
ParticipantAutomated addon is version 4.8.2, and the Newsletter plugin itself is version 8.8.2. 🙂
May 10, 2025 at 12:55 am #344085Killer PCs Inc.
ParticipantHere’s what I see in the automated newsletter preview. Seems that it only happens if there are no posts to preview, as I hit “Generate and send now”. I usually send my emails after previewing them.
May 10, 2025 at 7:04 am #344088Stefano
KeymasterArgh!!! Bug!
Fixed on Automated 4.8.3, thank you for reporting it!May 10, 2025 at 7:54 am #344089Killer PCs Inc.
ParticipantHehehe, you’re welcome! Cheers, and thanks for finding it so quickly!
-
AuthorPosts
- You must be logged in to reply to this topic.