I got next error on my progect:
Fatal error: Call to a member function getType() on string in /var/www/docroot/profiles/contrib/openy/modules/openy_features/openy_location/modules/openy_loc_camp/openy_loc_camp.module on line 20

Short investigation show that in my case $node variable contain only ID.
Solution - add additional check that $node is instanceof NodeInterface.

Comments

hamrant created an issue. See original summary.

hamrant’s picture

Status: Active » Needs review
sanchiz’s picture

Approved & merged.

sanchiz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.