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.
Call to purl_goto in space_type_purl->deactivate() sometimes causes this error:
PHP Fatal error: Unsupported operand types in /webroots/www/site-d7/includes/common.inc on line 2284
This is because url() wants the query string to be an array, but in the deactivate function it's already been turned to a string.
Fix, change line 67 from
'query' => drupal_http_build_query(drupal_get_query_parameters($_GET, array('q'))),
to
'query' => drupal_get_query_parameters($_GET, array('q')),
Comment | File | Size | Author |
---|---|---|---|
#1 | spaces-purl-goto-query-string-2291659-1.patch | 566 bytes | andykisaragi |
Comments
Comment #1
andykisaragi CreditAttribution: andykisaragi commentedpatch for above