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 :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:129
Stack 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)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.