Symphony 2.2.1 php error after install
This is an open discussion with 4 replies, filed under General.
Search
I changed line 1226 of class.field.php from this:
return $this->buildDSRetrievalSQL($data, &$joins, &$where, $andOperation = false);
to this:
return $this->buildDSRetrievalSQL($data, $joins, $where, $andOperation = false);
and the error went away, BUT I don't know what this does or if it breaks anything.
Still need some help with this one!
Thanks!
What version of PHP are you running?
PHP Version 5.2.15
Yup, seen that before. In most cases, the fix is easy.
Instead of
function doStuff($data) { ... } doStuff(&$data);
you'll now have to do
function doStuff(&$data) { ... } doStuff($data);
Basically, it's no longer allowed to let the caller decide if it's call-by-reference but solely the callee.
Create an account or sign in to comment.
I get this error twice on every page in the admin and on the public side after the 2.2.1 update:
I'm on Dreamhost and I found this forum post that may be helpful.
http://discussion.dreamhost.com/thread-126924-post-127513.html
I checked Github to see if the file had been edited, but it hasn't. Any ideas on what to do?
Thanks!