Title: Fatal error json_decode()
Last modified: March 16, 2026

---

# Fatal error json_decode()

 *  Resolved [echappee06](https://wordpress.org/support/users/echappee06/)
 * (@echappee06)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-json_decode/)
 * Hi,
   I have a fatal error thrown by my Instagram Feed plugin (free version – v.
   6.10.1).The website is working but I can see the error in my error log and I 
   think it is causing issues with the cron jobs.Here is the full error :
 *     ```wp-block-code
       PHP Fatal error:  Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /wp-content/plugins/instagram-feed/inc/Helpers/SB_Instagram_Tracking.php:129Stack trace:#0 /wp-content/plugins/instagram-feed/inc/Helpers/SB_Instagram_Tracking.php(129): json_decode()#1 [internal function]: InstagramFeed\Helpers\SB_Instagram_Tracking::InstagramFeed\Helpers\{closure}()#2 /wp-content/plugins/instagram-feed/inc/Helpers/SB_Instagram_Tracking.php(128): array_map()#3 /wp-content/plugins/instagram-feed/inc/Helpers/SB_Instagram_Tracking.php(61): InstagramFeed\Helpers\SB_Instagram_Tracking->get_data()#4 /wp-includes/class-wp-hook.php(341): InstagramFeed\Helpers\SB_Instagram_Tracking->send_checkin()#5 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()#6 /wp-includes/plugin.php(570): WP_Hook->do_action()#7 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(358): do_action_ref_array()#8 phar:///usr/local/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(238): Cron_Event_Command::run_event()#9 [internal function]: Cron_Event_Command->run()#10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()#11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()#12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()#13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(470): WP_CLI\Dispatcher\Subcommand->invoke()#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(493): WP_CLI\Runner->run_command()#15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\Runner->run_command_and_exit()#16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()#17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(84): WP_CLI\Bootstrap\LaunchRunner->process()#18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(35): WP_CLI\bootstrap()#19 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('phar:///usr/loc...')#20 /usr/local/bin/wp(4): include('phar:///usr/loc...')#21 {main}  thrown in /wp-content/plugins/instagram-feed/inc/Helpers/SB_Instagram_Tracking.php on line 129
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [Smash Balloon Louis](https://wordpress.org/support/users/smashballoonlouis/)
 * (@smashballoonlouis)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-json_decode/#post-18854535)
 * Hi [@echappee06](https://wordpress.org/support/users/echappee06/),
 * Thank you for contacting us! We’ll be happy to help with this. Could you please
   submit a support ticket on our website [here](https://smashballoon.com/support/)
   so we can investigate this further?
 * Thanks!
   Louis

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-json_decode%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Smash Balloon Louis](https://wordpress.org/support/users/smashballoonlouis/)
 * Last activity: [2 months, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-json_decode/#post-18854535)
 * Status: resolved