I added the mediapress widget to the sidebar but the error message below was displayed on the frontend.
Fatal error: Call to a member function have_media() on a non-object in /home/…/public_html/plugins/mediapress/templates/mediapress/default/widgets/grid-photo.php on line 12
NB: The user is an admin and does not have any media in the gallery.
That was a bad typo on my end. Have fixed it and pushed on the github.
You can see the small change here
it was a space I typed by mistake. I am hoping to avoid it in future. Please update and let me know if you find any issue.
The topic ‘ [Resolved] MediaPress Widget Error’ is closed to new replies.