Forum
Comments add-on error when trying to set to spam
I have added the latest version on the comments addon and when trying to mark a comment as spam it errors as below; PHP Fatal error: Class 'PerchComments_Akismet' not found in /home/sites/content.productions/public_html/perch/addons/apps/perch_comments/PerchComments_Comment.class.php on line 36: /home/sites/content.productions/public_html/perch/addons/apps/perch_comments/index.php
It works if the Akismet key is not set in the general settings
I think this is missing from the /PerchComments_Comment.class
I have updated my version and it works;
if ($akismet_api_key) { if (!class_exists('PerchComments_Akismet')) { include_once('PerchComments_Akismet.class.php'); }