BuddyDev

Search

[Resolved] MediaPress Widget Error

Tagged: ,

  • Participant
    Level: Initiated
    Posts: 20
    With BenefitZ on #848

    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.

  • Participant
    Level: Initiated
    Posts: 20
    With BenefitZ on #850

    Reposted in MediaPress Forum

  • Keymaster
    (BuddyDev Team)
    Posts: 21839
    Brajesh Singh on #851

    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
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 21839
    Brajesh Singh on #852

    That 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/d11e165c48d89981c7a1f8c660932cc118778b64

    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.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 20
    With BenefitZ on #853

    Thanks Brajesh,i will test it and update you 🙂

  • Participant
    Level: Initiated
    Posts: 20
    With BenefitZ on #854

    It’s OK now…..shows no galleries available when there are none.

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 21839
    Brajesh Singh on #855

    Thank you. Closing this as resolved.

The topic ‘ [Resolved] MediaPress Widget Error’ is closed to new replies.

This topic is: resolved