Call to undefined method getObjectVar in class


#1

Call to undefined method getObjectVar in class when trying to open the data object.

Status: 500 | Internal Server Error
URL: /admin/object/get
Message: Call to undefined method getObjectVar in class Pimcore\Model\DataObject\Product

What is the cause of this issue ?


#2

Sounds like your Pimcore codebase is messed up.
The method getObjectVar() is provided by the ObjectVarTrait which is applied here:

So it should be definitely there.