Write "Something" in the comment field, click preview, write "Somethingelse" click preview.

Result:

"warning: array_shift() [function.array-shift]: The argument should be an array in /home/jabulela/public_html/modules/ajax_comments/ajax_comments.module on line 94.
warning: Invalid argument supplied for foreach() in /home/jabulela/public_html/modules/cck/content.module on line 1270.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/jabulela/public_html/includes/form.inc on line 366."

Comments

neochief’s picture

Status: Active » Fixed

Fixed in the latest DEV version. Please, test and tell your results. Thanks.

idflorin’s picture

seems like it's working.

idflorin’s picture

Incompatibility with Contemplate

Fatal error: Cannot use object of type stdClass as array in /home/zoriro/public_html/modules/ajax_comments/ajax_comments.module on line 240
neochief’s picture

It's a bug of contemplate. They fixed it in their latest dev.

neochief’s picture

Status: Fixed » Active

Damn, not fixed. It appears for anonymous users only.

neochief’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Status: Active » Fixed

Fixed in latest dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.