Title: PHP error with last version
Last modified: February 18, 2022

---

# PHP error with last version

 *  Resolved [azalbert](https://wordpress.org/support/users/azalbert/)
 * (@azalbert)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-with-last-version/)
 * Hi,
    We encounter an error with last version of plugin : Une erreur de type E_ERROR
   a été causée dans la ligne 242 du fichier /wp-content/plugins/instagram-feed/
   inc/class-sb-instagram-feed.php. Message d’erreur : Uncaught Error: Call to a
   member function is_expired() on null in /wp-content/plugins/instagram-feed/inc/
   class-sb-instagram-feed.php:242
 * WordPress version 5.9
    Thème actuel : JupiterX Extension actuelle : Smash Balloon
   Instagram Feed (version 6.0.3) PHP version 7.3.32
 * Do you have a solution ?

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

 *  Plugin Support [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * (@joelsmashballoon)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-with-last-version/#post-15386713)
 * Hey [@azalbert](https://wordpress.org/support/users/azalbert/),
 * Thank you for reaching out to us for assistance. We have not yet had any other
   reports of this issue. First, could you test fully reinstalling the plugin. Then
   if the issue persists, please send us a support request on [our website form here](https://smashballoon.com/support/).
   This is so that you can include the **System Info** from the plugin’s _Help section_
   found by clicking the Help button in the top right of the settings page. This
   will allow us to dig closer into your issue and see whether we need to address
   this in a future update.
 * Many thanks.
 *  [ajouve](https://wordpress.org/support/users/ajouve/)
 * (@ajouve)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-with-last-version/#post-15389848)
 * Hi,
    Same issue for me
 * Fatal error: Uncaught Error: Call to a member function is_expired() on null in/
   usr/share/wordpress/wp-content/plugins/instagram-feed/inc/class-sb-instagram-
   feed.php:242
 * Code is the following
 *     ```
       $database_settings = sbi_get_database_settings();
   
               $instagram_feed_settings = new SB_Instagram_Settings([], $database_settings);
               $instagram_feed_settings->set_feed_type_and_terms();
               $instagram_feed_settings->set_transient_name();
   
               $instagram_feed = new SB_Instagram_Feed($instagram_feed_settings->get_transient_name());
   
               $settings = $instagram_feed_settings->get_settings();
               $feed_type_and_terms = $instagram_feed_settings->get_feed_type_and_terms();
   
               if ($instagram_feed->regular_cache_exists()) {...}
       ```
   
 *  Plugin Support [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * (@joelsmashballoon)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-with-last-version/#post-15400068)
 * Hey [@ajouve](https://wordpress.org/support/users/ajouve/),
 * We have seen a few users have issues when updating. Could you test reinstalling
   the plugin fully and see whether the same error remains? If it does, please let
   me know!
 * Best regards.

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

The topic ‘PHP error with last version’ is closed to new replies.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-with-last-version/#post-15400068)
 * Status: resolved