• Resolved physalis

    (@physalis)


    Hey there, SmashBallooners,

    the current version of your plugin (update from four days ago) creates a 500 error on my site. This is the error message that is spit out when debug is enabled:


    Uncaught Error: Call to undefined function error_log() in /home/users/xxxxx/www/my-site/wp-includes/class-wpdb.php:1829 Stack trace: #0 /home/users/xxxxx/www/my-site/wp-includes/class-wpdb.php(2308): wpdb->print_error() #1 /home/users/xxxxx/www/my-site/wp-includes/class-wpdb.php(3041): wpdb->query() #2 /home/users/xxxxx/www/my-site/wp-content/plugins/instagram-feed/admin/SBI_Callout.php(166): wpdb->get_var() #3 /home/users/xxxxx/www/my-site/wp-content/plugins/instagram-feed/admin/SBI_Callout.php(83): InstagramFeed\Admin\SBI_Callout::feeds_number() #4 /home/users/xxxxx/www/my-site/wp-content/plugins/instagram-feed/admin/SBI_Callout.php(28): InstagramFeed\Admin\SBI_Callout::get_callout_plugins_list() #5 /home/users/xxxxx/www/my-site/wp-content/plugins/instagram-feed/instagram-feed.php(253): InstagramFeed\Admin\SBI_Callout->__construct() #6 /home/users/xxxxx/www/my-site/wp-includes/class-wp-hook.php(341): sb_instagram_feed_init() #7 /home/users/xxxxx/www/my-site/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #8 /home/users/xxxxx/www/my-site/wp-includes/plugin.php(522): WP_Hook->do_action() #9 /home/users/xxxxx/www/my-site/wp-settings.php(742): do_action() #10 /home/users/xxxxx/www/my-site/wp-config.php(120): require_once('...') #11 /home/users/xxxxx/www/my-site/wp-load.php(50): require_once('...') #12 /home/users/xxxxx/www/my-site/wp-admin/admin.php(35): require_once('...') #13 /home/users/xxxxx/www/my-site/wp-admin/plugins.php(10): require_once('...') #14 {main} thrown in /home/users/xxxxx/www/my-site/wp-includes/class-wpdb.php on line 1829

    • This topic was modified 3 months, 1 week ago by physalis.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @physalis

    Thank you for bringing this issue to our attention and sorry for the inconvenience this has caused you. I’m checking with my colleagues to get more details on this. In the meantime, please contact your host to check if they can enable the error_log function in your server settings as this will prevent the error 500 from occurring when the website encounters issues like this.

    I will get back to you as soon as I have an update. Please let me know if you have questions.

    Best Regards,

    Thread Starter physalis

    (@physalis)

    @nigelrsb Hi Nigel, thanks for the quick answer. It’s a customer’s website, with a more exotic hosting, so I’m not sure if they can enable error logs manually. However, shouldn’t it be optional for servers to enable PHP error logging? It’s the first time I encounter a plugin explicitly requiring error logging.

    Hi @physalis,

    To clarify, error logging is not explicitly required by the Instagram feed plugin. Enabling it will only prevent the error from being fatal while we investigate what may be causing the 500 error. An alternative workaround would be to downgrade the plugin to a previous version. You can download the old version (6.9.1) at the bottom of the Advanced view page: https://ww.wp.xz.cn/plugins/instagram-feed/advanced/.

    I hope this helps! Please let me know if you have any questions.

    Thread Starter physalis

    (@physalis)

    @nigelrsb Hm, strange, there was no other error visible. Normally, a fatal error would simply show up. But I guess I had better revert to 6.9.1, thanks for the link and the help!

    Thread Starter physalis

    (@physalis)

    @nigelrsb Unfortunately, I went back as far as 6.5.0, but it still gives me trouble. Unless I enable debugging in WordPress, I’ll always get a white screen of death. I had used Smashballoon before and am still using it on other customers’ sites, but for some reason, it won’t work on this specific host.

    Hi @physalis,

    I’m sorry to hear that rolling back the plugin version did not work for you. Given that we have not received reports of similar issues, this seems to be specific to your setup. To further investigate the issue, please submit a support request via the form on our website, https://smashballoon.com/support/, and include the System Info. 

    To obtain this information, please follow the steps on this page: https://smashballoon.com/doc/how-to-get-system-info. We ask you to use our form, as the System Info contains other website information from your site, which we do not suggest posting here.

    Best Regards,

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.