0to9Digital / SEO-Lite-Pro

The most powerfull SEO module for ExpressionEngine.
6 stars 6 forks source link

Server Error if Twitter image not defined #13

Closed pyrobob83 closed 1 year ago

pyrobob83 commented 1 year ago

We upgraded a site that was using the old SEO Lite and are trying to get things working. One of the issues was I was getting a server error that was referencing line 184 of /seo_lite/mod.seo_lite.php which let me to the Twitter image. Adding an image fixed the issue, but I can't remove the image now to get back to the stack-trace, but figured I'd point this out as an issue anyway.

0to9Digital commented 1 year ago

HI @pyrobob83

Can you send me the full error notification? Because without a twitter image, it should skip the line 184: $twitter_image = ee('Model')->get('File', $twitter_image_file)->first()->getAbsoluteURL();