Fatal error: Unsupported operand types in .../includes/common.inc on line 1275

ramper - December 10, 2008 - 18:41
Project:reCAPTCHA
Version:6.x-1.x-dev
Component:reCAPTCHA Captcha
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have been getting this error whenever a user tries to register - does anyone know why this is happening? Thanks in advance.

Fatal error: Unsupported operand types in .../includes/common.inc on line 1275

#1

bboldi - December 11, 2008 - 12:00

inset these

  if(!is_array($options))
  {
  $options = array();
  }

lines, it will help you...

  // Merge in defaults.
 
  if(!is_array($options))
  {
  $options = array();
  }
 
  $options += array(
    'fragment' => '',
    'query' => '',
    'absolute' => FALSE,
    'alias' => FALSE,
    'prefix' => ''
  );

#2

ramper - December 12, 2008 - 01:27

Great! That fixes it. Thank you so much!! Have a great day!

 
 

Drupal is a registered trademark of Dries Buytaert.