Fatal error: Unsupported operand types in /home/encognit/public_html/sites/all/modules/captcha/captcha.module on line 197

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/encognit/public_html/sites/all/modules/captcha/captcha.module on line 195.

This happens most of the time, but not all the time, when the user attempts to register for a new account. Problem is more common on IE.

Comments

prokopton’s picture

Another thing: this only happens in Firefox. It seems fine in IE.

prokopton’s picture

Status: Active » Fixed

I got the problem fixed. I upgraded to php 5.x on cpanel and that caused the problem. I switched back to php 4.x and the problem went away.

Thanks.

soxofaan’s picture

Well, downgrading to PHP 4 is not really a fix ;)

The real fix is upgrading to CAPTCHA module version 5.x-3.x
everything before that (like 5.x-2.1 you appear to use) is known to be buggy and not supported anymore

Any reason you're using 5.x-2.x instead of 5.x-3.x?

prokopton’s picture

Just making changes to the site right now, so I'd like to do one thing at a time--that way I can track possible errors.

You are right about upgrading to 5.x-3.x. I will do that soon. Thanks for the suggestion!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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