Skip to content

What I Should do with a message when the target is “vendor” class?

I had the following error message:
Report.CRITICAL: Error: Call to a member function getId() on null in /data/sites/ecommerce/web/magento/vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Action.php

How to fix this problem if it points to classes from the “vendor” folder, which theoretically shouldn’t be changed?