Duplicate Can't watermark?

frm

Well-known member
Affected version
2.1.5a
Error: Call to a member function getWidth() on null in src/addons/XFMG/Service/Media/Watermarker.php at line 53
  1. XFMG\Service\Media\Watermarker->watermark() in src/addons/XFMG/InlineMod/Media/AddWatermark.php at line 33
  2. XFMG\InlineMod\Media\AddWatermark->applyToEntity() in src/XF/InlineMod/AbstractAction.php at line 87
  3. XF\InlineMod\AbstractAction->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 80
  4. XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineMod.php at line 131
  5. XF\Pub\Controller\InlineMod->actionPerform() in src/addons/Siropu/AdsManager/XF/Pub/Controller/InlineMod.php at line 54
  6. Siropu\AdsManager\XF\Pub\Controller\InlineMod->actionPerform() in src/XF/Mvc/Dispatcher.php at line 350
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
  11. XF\App->run() in src/XF.php at line 391
  12. XF::runApp() in index.php at line 20
 
We may need to improve some error handling here but it seems to imply that there is an issue with the actual watermark image. It may be worth checking that it is still in the expected location on the server and/or re-uploading it if necessary.
 
We may need to improve some error handling here but it seems to imply that there is an issue with the actual watermark image. It may be worth checking that it is still in the expected location on the server and/or re-uploading it if necessary.
I've done it several times.

It's accessible, but no thummbnail. Because of that, no open graph image.
 
Any image except for this one will upload correctly with a thumbnail and watermark on the live site.

It uploads on dev, all addons enabled as well. XF no problem either.
 
Back
Top Bottom