Websites Comments v1.04 Error
Just playing with WSC when I add a comment it throws "wsc_emailTemplate_loadFromDB: No 'From' set by program or email template id 'ADMIN-COMMENT-ADDED'"
Yea, in the latest CMSB version you can find:
- Admin email under: Admin > Email Settings: /cmsb/admin.php?menu=admin&action=email
- Website Comments > Email Templates here: /cmsb/admin.php?menu=_wsc_email_templates
Let me know if you continue to have issues with it.
Admin email is set as I always receive messages when I login to cmsb.
All I am doing is using the test comments to try it out, finally fedup with wp and actually biting the bullet and swapping my site to the light.
I tested the plugin around and found the error popup. It is caused by setting "ADMIN-COMMENT-ADDED" template "From" field empty. Could you check for me if yours is set?
You can check it at menu > Email Templates > modify "ADMIN-COMMENT-ADDED".
See attached image all seems ok I checked the stuff when Dave replied.
Can you email me CMS and FTP login details to firstname.lastname@example.org and I'll debug it? Note: Don't post login details to the forum.
This issue was related to PHP 7. I've patched the code on your server to work with PHP 7.
Can you let me know if this works for you? If so I'll release an update to the plugin.
Thanks for reporting this issue!