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?
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
#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)
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
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
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.
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.
Hello there again,
Please provide wp-admin and FTP credentials.
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.