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.
Today I received a report that the user was receiving a WSOD on a node add page.
After placing debugging code in index.php, I got this:
E_ERROR Error in file »common.inc« at line 2482: Unsupported operand types
And after placing further debugging in common.inc this:
array (
'file' => '/home/nemaa/nemaa.org/htdocs/includes/theme.inc',
'line' => 1809,
'function' => 'l',
'args' =>
array (
0 => 'r',
1 => 'r',
2 => 'references_dialog_links',
),
)
It appears that an $options variable was being passed to l(), however it was a string and not an array, causing
$options += array(
'attributes' => array(),
'html' => FALSE,
);
in common.inc to fail.
Upgrading from alpha to beta did not fix this problem, and disabling the module did stop the WSOD.
I can test against the dev release shortly, but have not yet.