[resolved] plugin generating php errors (4 posts)

  1. brettbum
    Posted 3 years ago #

    reporting this for wp version 3.5.1 and 3.5

    In both instances I get the following error when I try to view the grabpress dashboard

    Warning: json_encode() expects exactly 1 parameter, 2 given in /public_html/wp-content/plugins/grabpress/GrabPress.php on line 382

    Fatal error: Call to undefined method DateTime::sub() in /public_html/wp-content/plugins/grabpress/GrabPressAPI.php on line 568

    troubleshooting so far:
    double checked my account on grabpress, no issues there although it doesn't seem to be reporting anything
    deactivated/reactivated plugin
    on GrabPress>account page clicking any of the radial buttons seems to refresh the page but does nothing.
    previews of existing or new feeds yields nothing


  2. grabmedia
    Plugin Author

    Posted 3 years ago #

    Please check your PHP version:
    DateTime::sub() was added in version 5.3.0
    json_encode() was added in version 5.2.0

  3. brettbum
    Posted 3 years ago #

    So I'm running 5.2.9, guess I'm right in the sweet spot of things not working. (side note would be helpful if WordPress.org tracked which plugins do not work with certain versions of PHP and MySQL I suppose)

  4. brettbum
    Posted 3 years ago #

    Took 90 minutes for my host, remane nameless but they aren't crocodiles, to get things upgraded.

    In short it is working again, and better than I remember. Looks like a better stock of videos on my topic now too!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.