Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedSteps 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.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedCAUSE FOUND -- all of this is caused by Cacherouter w/ Memcache & APC cache. Disabling cacherouter fixed HS.
But why?
Comment #3
Wim LeersThis 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!