• Resolved Tim

    (@timwakeling-1)


    In the last few days I’ve started getting the following PHP fatal error whenever the WordPress cron job runs (domain and usernames changed to protect my client as this is a public post):

    PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/framework/WDIInstagram.php:322
    Stack trace:
    #0 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/framework/WDIInstagram.php(292): WDIInstagram->getChildMediaById(‘179105599933196…’)
    #1 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/framework/WDIInstagram.php(260): WDIInstagram->getMediaChildren(‘178567726394655…’)
    #2 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/framework/WDIInstagram.php(59): WDIInstagram->convertPersonalData(Array)
    #3 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/framework/WDIInstagram.php(393): WDIInstagram->getUserMedia(‘myusername…’)
    #4 /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/wd-instagram-feed.php( in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wd-instagram-feed/framework/WDIInstagram.php on line 322

    Is this a problem with your plugin?

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hello Tim,

    Thanks for your inquiry.

    Can you please enter wordpress admin area > plugins section and check which version of our plugin you use?

    Please write me here.

    Thread Starter Tim

    (@timwakeling-1)

    Thanks for getting back to me.

    We’re using the latest version of your plugin – v1.4.6.

    Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi Tim,
    It is unclear how you could have gotten such data that is causing the error, but we will add some checks to avoid errors in such cases in our next update.

    Thread Starter Tim

    (@timwakeling-1)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error just started appearing’ is closed to new replies.