Okay
  Public Ticket #1536790
Question about a Fatal Error log
Closed

Comments

  •  2
    NoosaDreamboats started the conversation

    Hi, looking at my system logs today (in Woocommerce Status tab) I found a recurring Fatal Error that appears to have something to do with the Code Instagram widget. The error is being logged every 20 minutes or so....

    Can you please tell me why my Code Instagram widget is causing a Fatal Error message and what (if anything) I need to do about it?

    Many thanks!

    Michael

    2018-04-11T16:44:14+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /home/noosadre/public_html/wp-content/plugins/qode-instagram-widget/lib/qode-instagram-api.php:226
    Stack trace:
    #0 /home/noosadre/public_html/wp-content/plugins/qode-instagram-widget/lib/qode-instagram-api.php(174): QodeInstagramApi->fetchData('9', '', Array)
    #1 /home/noosadre/public_html/wp-content/plugins/qode-instagram-widget/widgets/qode-instagram-widget.php(78): QodeInstagramApi->getImages('9', '', Array)
    #2 /home/noosadre/public_html/wp-includes/class-wp-widget.php(372): QodeInstagramWidget->widget(Array, Array)
    #3 /home/noosadre/public_html/wp-includes/widgets.php(742): WP_Widget->display_callback(Array, Array)
    #4 /home/noosadre/public_html/wp-content/themes/bridge/footer.php(251): dynamic_sidebar('footer_column_2')
    #5 /home/noosadre/public_html/wp-includes/template.php(688): require_once('/home/noosadre/...')
    #6 /home/noosadre/public_html/wp-includes/template.php(647): load_template('/home/noosadre/...', true)
    #7 /home/noosadre/public_html
  •  468
    Qode replied

    Hello there,

    Try exporting whole Error Log file (but from the server itself) and send it to us so we can send it over to our developers to take a closer look.

    As for the Instagram itself, is it working properly or not on your website?

    Are you experiencing any issues with it?

    The new and improved Online Bridge Documentation is live. Check it out now - http://bridge.qodeinteractive.com/

    QodeThemes Support Specialist

  •  2
    NoosaDreamboats replied

    Hi, Instagram seems to be working fine but does slow the site down a bit. We still have this fatal error showing up however.

    I was not able to export the error log file from the server, but I have attached a copy of the fatal error log found in our wp admin under woocommerce/status/logs. It is just the same error repeating over and over.

    I would appreciate your advice once the developers have looked it it.

    Attached files:  Fatal error log.pdf
      Screen Shot 2018-04-13 at 3.06.00 pm.png

  •  468
    Qode replied

    Hello there,

    Thanks for that.

    I've sent it over to our developers to take a closer look.

    But we ended up needing to know which PHP version are you using. And you can try switching this.

    And also provide wp-admin credentials so we can take a closer look.

    Thanks.

    The new and improved Online Bridge Documentation is live. Check it out now - http://bridge.qodeinteractive.com/

    QodeThemes Support Specialist

  •  2
    NoosaDreamboats replied

    Hi, 

    The php version I am running is 7.1.16 and wp 4.9.5

    The qode Instagram widget started acting strangely all of a sudden, and raw code was visible in the place in the footer where the widget was located (on some pages).

    Fyi we are also running wp rocket with full minimization and combination on html, css and js files.

    I won't provide wp admin credentials at this stage as we have now deactivated the plugin due to the issues and are happy to proceed without it.

    Hopefully your developers can still have a look at the error logs and see if there was any obvious cause for the strange behaviour. 

    Thanks Michael.

  •  468
    Qode replied

    Hello there again,

    Please provide wp-admin and FTP credentials.

    Thanks

    The new and improved Online Bridge Documentation is live. Check it out now - http://bridge.qodeinteractive.com/

    QodeThemes Support Specialist

  •   NoosaDreamboats replied privately
  •  468
    Qode replied

    Hello there again,

    Alright. The developers are still looking at it and will try to reproduce it and figure out what the issue is.

    As soon as I have any new information I'll update you.

    The new and improved Online Bridge Documentation is live. Check it out now - http://bridge.qodeinteractive.com/

    QodeThemes Support Specialist

  • Giulia replied

    Hi,

    What is the solution to this issue? I have the same error using the Qode Instagram Widget in my website.

    Many thanks!

  •  1,201
    Qode replied

    Hello Giulia,

    Please make sure you have updated version of PHP. Here is a one recommended by  Wordpress:

     https://wordpress.org/about/requirements/

    and it has to be at least PHP 5.6. Also this could be caused by a 3rd party plugin. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    if the issue still persists, send us your url and wp-admin details in your own, private ticket and we'll take a closer look.

    Best regards,

    Daniel

    The new and improved Online Bridge Documentation is live. Check it out now - LINK

    Also check our articles with useful tips and suggestions

    Best Regards,

    Qode

  • Giulia replied

    Thank you very much for your reply.

    Will follow your advice and will be in touch if need be... fingers crossed! =)

  •  1,201
    Qode replied

    You're welcome. 

    If there’s anything else we can help you with, please let us know.

    Best regards,

    Daniel

    The new and improved Online Bridge Documentation is live. Check it out now - LINK

    Also check our articles with useful tips and suggestions

    Best Regards,

    Qode