CGFeedback module crash

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rvwilliams
Forum Members
Forum Members
Posts: 61
Joined: Wed Oct 05, 2011 9:59 am

CGFeedback module crash

Post by rvwilliams »

I'm on 2.2.3.1 with CMSFeedback 2.0.4. When a new comment is posted the feedback module crashes with the error

Catchable fatal error: Argument 1 passed to CGFeedback::check_stopforumspam() must be an instance of CGFeedback\comment, null given in /home/richard/httpdocs/everything/modules/CGFeedback/CGFeedback.module.php on line 235

Here is a snippet from my comment template:

Code: Select all

  <div class="row">

       <label for="{$actionid}comment">{$mod->Lang('prompt_comment')}:</label>

      {cge_textarea class='form-control' wysiwyg=$wysiwyg name="{$actionid}comment" id="{$actionid}comment" rows=3 value=$comment_obj->data}

  </div>
Listing of all modules:

AdminSearch 1.0.4
CGBetterForms 1.1.3
CGBlog 1.14.4
CGExtensions 1.56.3
CGFeedback 2.0.4
CGSimpleSmarty 2.1.7
CMSContentManager 1.1.6
CMSMailer 6.2.14
Captcha 0.5.5
CmsJobManager 0.1.1
DesignManager 1.1.3
FileManager 1.6.4
FilePicker 1.0.1
FormBuilder 0.8.1.6
JQueryTools 1.4.0.3
MicroTiny 2.2.1
ModuleManager 2.1.2
Navigator 1.0.8
News 2.51.3
Search 1.51.2
SitemapMgr 1.5.1
TinyMCE 3.2-beta3
Uploads 1.25.8
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CGFeedback module crash

Post by calguy1000 »

This is actually a bug in the hook management stuff introduced with CMSMS 2.2. It is fixed in SVN and will be released with the next version of CMSMS.

In the interim you should be able to disable the stop-forum-spam stuff in the CGFeedback settings.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Modules/Add-Ons”