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 Drupal 6.x (HEAD), with a PosgreSQL install, PHP 5.2, Apache 2
Tried to run all of the available tests - after much churning fails with a WSOD with the message:
Fatal error: Unsupported operand types in /var/www/drupal/includes/common.inc on line 1211
This is function url, and I've seen this before when calling url() or l() with options that are either not set or are not an array().
Note - this may be because I don't have the image module installed.
When I re-load the page, the following dsm messages appear:
* !SimpleTest test node! simpletest_yphkKzeulI has been deleted.
* simpletest_OYAY has been deleted.
* simpletest_QSrxMOGi has been deleted.
* simpletest_sLYM has been deleted.
* simpletest_FcUp has been deleted.
* The directory files/pictures has been created.
* simpletest_YEnK has been deleted.
* simpletest_S8MC has been deleted.
* simpletest_C_GC has been deleted.
* The directory files/images has been created.
* The directory files/images/temp has been created.
Comment | File | Size | Author |
---|---|---|---|
#3 | image_module.test_.patch | 594 bytes | drunken monkey |
Comments
Comment #1
drunken monkeyI got the same error (although it was line 1229, still the first instruction in url()), with the same Drupal, PHP and Apache versions, and MySQL 5.0.
At my system, the image module is installed, though.
Comment #2
drunken monkeyThe source seems to be the image module test. In the HEAD version of "tests/image_module.test" is the following in line 96:
"$this->drupalGet(url("node/$node->nid", NULL, NULL, TRUE));"
After fixing this, the tests ran smoothly.
Comment #3
drunken monkeyOK, I made a patch out of the above fix.
Please apply.
Comment #4
Rok Žlender CreditAttribution: Rok Žlender commentedCommitted thanks.
Comment #5
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.