On selecting an item in HS dropdown, I get 'Received an invalid response from the server.'

Firebug console outputs Response in /hierachical_select_json:

<br />
<b>Fatal error</b>:  Unsupported operand types in <b>/var/www/vhosts/xxx.net/httpdocs/includes/common.inc</b> on line <b>2876</b><br />

Comments

Anonymous’s picture

Steps leading up to #1 (from Drupal dblog):

A
Location http://www.xxx.net/hierarchical_select_json
Referrer http://www.xxx.net/node/add/store
Message Missing argument 2 for drupal_retrieve_form() in /var/www/vhosts/xxx.net/httpdocs/includes/form.inc on line 326.

B
Location http://www.xxx.net/hierarchical_select_json
Referrer http://www.xxx.net/node/add/store
Message call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /var/www/vhosts/xxx.net/httpdocs/includes/form.inc on line 372.

C
Location http://www.xxx.net/hierarchical_select_json
Referrer http://www.xxx.net/node/add/store
Message uasort() [function.uasort]: The argument should be an array in /var/www/vhosts/xxx.net/httpdocs/includes/common.inc on line 2874.

Someone please... fix this mess... Was working fine until 5 days ago. Cant remember what changed.

Anonymous’s picture

CAUSE FOUND -- all of this is caused by Cacherouter w/ Memcache & APC cache. Disabling cacherouter fixed HS.

But why?

Wim Leers’s picture

Status: Active » Closed (duplicate)

This is in fact a duplicate of #538022: JS alert: "Received an invalid response from the server.". I've posted a reply to the most useful comments in this issue over there, in this comment: http://drupal.org/node/538022#comment-2658962.

Please continue there!