Although I've found a few similar issues, I can't seem to find a fix for the huge number of notices I'm seeing in my error logs:
Notice: Trying to get property of non-object in commerce_entity_access() (line 943 of /home2/bikesgea/public_html/sites/all/modules/commerce/commerce.module).
They're occurring when I visit almost any page on my site and the few contributed modules that this message seemed to be linked to in other issue posts (including Commerce Bundle), I don't have installed.
I'm happy to provide more info, but I'm not seeing any specific symptoms that I can relate to this - except a crazy number of error messages (4 for each page I visit - including on the dblog page itself) in my logs, which effectively make the logs so full they're useless, and I'm seeing 4 of these notices everytime I run update.php.
I can't uninstall entity or commerce, as they're the most dependent-heavy modules there are, but I have tried several different versions of each(1.0, dev, etc), with no change in the number of messages.
Any thoughts?
Comments
Comment #1
xanoComment #2
rszrama commentedNot enough info here to even determine if it's an issue with Commerce. I'd notice if it was a general core problem. ; )
This error message is out of date, too. There is no object property access going on on line 943 of commerce.module.
Comment #3
storytellerjeff commentedHi Ryan, I've noticed (and posted) on an additional issue I was having with entity and never got a response. I'm thinking that it's to do with the entity module (which is why this was originally posted there - I'm not sure why it was moved to Commerce).
I'll keep digging and figure out if I can provide more info.
In the meantime, this doesn't seem to be causing any real problems with my Commerce setup.
Comment #4
rszrama commentedOk. Yeah, would've been helpful to get some info from Xano on the recategorization. Feel free to move this back if you've had other trouble not related to Commerce. It could be useful to know what the current line number of the notices is on the latest Commerce 1.x-dev.
Comment #5
mglamanNo updates. Looks like a NULL entity value was passed somehow.