Active
Project:
References dialog
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2015 at 17:33 UTC
Updated:
6 May 2015 at 17:33 UTC
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.