I'm trying to use a default image field that is nested hero_fieldset.hero_image, if the image field is not populated with an image it throws the following:
Error
Call to a member function get() on null
Updating line 149 of OpengraphSeoData.php as follows prevents the error, I was wondering if you'd consider incorporating this fix into a future release.
if (!$field || !$field->get('defaultValuePage')) {
Hi Wanze,
Great module, thanks for developing.
I'm trying to use a default image field that is nested
hero_fieldset.hero_image
, if the image field is not populated with an image it throws the following: Error Call to a member function get() on nullUpdating line 149 of OpengraphSeoData.php as follows prevents the error, I was wondering if you'd consider incorporating this fix into a future release.
if (!$field || !$field->get('defaultValuePage')) {
Thanks very much, Tim