This is the error I'm getting:

Strict warning: Only variables should be assigned by reference in dbee_query_alter() (line 365 of dbee.module).

In my particular case, the line in question is below, but the same line appears in other locations and will throw the same error.

$arguments =& $query->getArguments();

The error only appears when php strict mode is on. It doesn't seem to have any noticeable impact on the functionality of the module, and with error dispaly turned off for regular users, its minor, but I thought I'd note it so it can be fixed for the next release.

Comments

thedut’s picture

Assigned: Unassigned » thedut
Priority: Normal » Minor

Thanks EAnushan,
It is a notice error, about php syntax; no consequences.
I will fix it into the next release, replacing each line :
$arguments =& $query->getArguments();
by :
$arguments = $query->getArguments();

thedut’s picture

Hi again ;)

This fix needs to be tested before including it into the next release !
I hope I will have the time to test it soon !

thedut’s picture

Status: Active » Closed (fixed)

Actually, the fix was more complex. I delete the $query->getArguments(); string.
The dbee_query_alter() function has been rebuild into a more powerfull function.
Fixed into the 7.x-1.3 release
Note : the 6.x branch is not concern by this issue.