I recently updated the entityreference module from 7.x-1.1 to 7.x-1.5. (I did this update on a test copy of my site.)
Now I am receiving out-of-memory errors on my site. It happens when I go to node/add for a content type that contains a bunch of entity references.
I am concerned because apparently this update was necessary for security reasons but I am unable to apply this update to my production site until I figure out what's causing the error and fix it.
Since I did not do each update along the way between 7.x-1.1 and 7.x-1.5, I suppose I don't really know if one of the earlier updates could have generated this same fatal error. Should I go through each update one by one, and test my site, in order to identity the specific changes that caused this error to happen for me?
Or does someone have a better idea for how I should approach this?
Thanks for any advice or clues you can offer.
Comments
Comment #2
lucyp CreditAttribution: lucyp commentedThe actual error is
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 524288 bytes) in /home/.../.../.../.../includes/entity.inc on line 182
Comment #3
joseph.olstadThis is fixed by release 7.x-1.7
Comment #4
joseph.olstadComment #5
joseph.olstadhttps://www.drupal.org/project/entityreference/releases/7.x-1.7
Comment #6
joseph.olstadPlease note, 1.8 was released with a related regression fix and added test coverage and improved usability.
https://www.drupal.org/project/entityreference/releases/7.x-1.8
Comment #8
joseph.olstadplease try the latest release
https://www.drupal.org/project/entityreference/releases/7.x-1.9