Hi, recently the WPDM – Newsletters addon stopped working, we get an error message when running the cronjob. The plugin itself is up to version 3.3.1 and WPDM Free itself is up to version 3.3.05. We have not made any changes to the site!
Enclosed is the error log:
[13-Jan-2025 11:14:02 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php:183
Stack trace:
#0 /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php(65): CAMPAIGN\UTIL\Mailer->sendMail()
#1 /var/www/html/wp-content/plugins/wpdm-newsletter/wpdm-newsletter.php(113): CAMPAIGN\UTIL\Mailer->cronHandler()
#2 /var/www/html/wp-includes/class-wp-hook.php(324): CAMPAIGN\EdenCampaign->cronHandle()
#3 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /var/www/html/wp-includes/plugin.php(565): WP_Hook->do_action()
#5 /var/www/html/wp-includes/class-wp.php(830): do_action_ref_array()
#6 /var/www/html/wp-includes/functions.php(1336): WP->main()
#7 /var/www/html/wp-blog-header.php(16): wp()
#8 /var/www/html/index.php(17): require('...')
}
thrown in /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php on line 183
Thanks and regards Marko
Hello, Marko
I hope you are doing well and thanks for reaching out.
Could you kindly let me know which version of the Download Manager plugin you are using?
Regards
Hi Tahasin,
The download manager plugin version is: 3.3.05
We have identified the issue and are working to fix it as soon as possible. Thank you for your patience.
Regards
Can I create a demo test package for testing purposes?
Hi,
The Crontab example.com/?cron_handle=1
Unfortunately still produces the same error.
[14-Jan-2025 10:24:02 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php:183
Stack trace:
#0 /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php(65): CAMPAIGN\UTIL\Mailer->sendMail()
#1 /var/www/html/wp-content/plugins/wpdm-newsletter/wpdm-newsletter.php(113): CAMPAIGN\UTIL\Mailer->cronHandler()
#2 /var/www/html/wp-includes/class-wp-hook.php(324): CAMPAIGN\EdenCampaign->cronHandle()
#3 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /var/www/html/wp-includes/plugin.php(565): WP_Hook->do_action()
#5 /var/www/html/wp-includes/class-wp.php(830): do_action_ref_array()
#6 /var/www/html/wp-includes/functions.php(1336): WP->main()
#7 /var/www/html/wp-blog-header.php(16): wp()
#8 /var/www/html/index.php(17): require('...')
}
thrown in /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php on line 183
2a01:4f8:c01f:c0:1002::11 - - [14/Jan/2025:10:24:02 +0000] "GET /?cron_handle=1 HTTP/1.0" 500 3230 "-" "Cronicle/1.0"
it might be a server error, as you can see 2a01:4f8:c01f:c0:1002::11 - - [14/Jan/2025:10:24:02 +0000] "GET /?cron_handle=1 HTTP/1.0" 500 3230 "-" "Cronicle/1.0"
500 status code indicates that something went wrong on the server side while processing the request.
Please reach out to your server support team for assistance in resolving this issue.
The error is caused by your script!
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-content/plugins/wpdm-newsletter/campaign/util/mailer.php:183
I am the server admin! And the error comes from your script, both as crontab or when I call the cron URL. As the server admin, I can’t fix anything if the error comes from wpdm-newsletter.
Where can I download the previous version of WPDM – Newsletters?
Unfortunately, there is no option available to download the previous version.
ok then I’ll import the one from the backup. Thank you!
Can be closed, we have now fixed the problem ourselves. Thank you very much!
Glad to hear that, it is fixed now.
If you encounter any issues with the newsletter or pro add-ons, please post them in our pro forum: https://www.wpdownloadmanager.com/support/forum/download-manager-pro/
Regards
You must be logged in to reply to this topic.