PHP Fatal error: Call-time pass-by-reference has been removed in /XXX/modules/XXXX/XXXX.module on line 227
The site was working perfectly on my machine. Suddenly after few days I started getting this above error without any code change. By going through the log files I got the above error. So I changed
And my site started to work. But I was not able to figure out the exact reason for the issue like the same code worked previously and now creating the issue.
Been a CMS(Content Management System) I have only created new contents and added taxonomy. There was no change done to code.