Tagged: mediapress, widget
Hi Brajesh,
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.
Hi,
Thank you for reporting.I am Sorry for the inconvenience. Confirmed bug. Seems something I have committed in the last weeks update. The objects are not passed properly. Looking at it and will have a fix in couple of hours.
Thank you
BrajeshThat was a bad typo on my end. Have fixed it and pushed on the github.
You can see the small change here
https://github.com/buddydev/mediapress/commit/d11e165c48d89981c7a1f8c660932cc118778b64it 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.
Thank you
BrajeshIt’s OK now…..shows no galleries available when there are none.
Thanks
The topic ‘ [Resolved] MediaPress Widget Error’ is closed to new replies.