I recently upgraded my server and now I'm receiving the following error:

"Assigning the return value of new by reference is deprecated in..."

From what little I've so far about this, a lot of people claim that it can be fixed by simply removing the reference operator (&).

Is this true? What's your experience in this?