Closed (cannot reproduce)
Project:
Entity Reference Count
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2013 at 22:28 UTC
Updated:
12 Feb 2016 at 19:35 UTC
Jump to comment: Most recent
Comments
Comment #1
RobKoberg commentedTHis is wrong. The count was not updating with the insert. When I use presave (what is in the latest code in the repo), I get the following error on node create:
Notice: Undefined property: stdClass::$nid in entityreference_count_get_count() (line 232 of /Users/rkoberg/Sites/mash/docroot/sites/all/modules/entityreference_count/entityreference_count.module).
There is no nid at this point in the save, so I am not really understanding what is going on here.
Comment #2
damienmckennaThere are a few RTBC patches in the issue queue that should help (especially the $nid bug), please give them a try and report back.
Comment #3
WorldFallz commentedI've committed a number of patches in the day or so. In my testing I see no errors or warnings of any kind. Please re-open if this is still happening. And be sure to include the steps necessary to reproduce. Thanks!