• Resolved jarmentorcomit

    (@jarmentorcomit)


    Howdy,

    I’m getting this error back on PHP 8? Does the maintainer have any suggestions for resolution?

    PHP Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /wp-content/plugins/custom-facebook-feed/inc/CFF_Shortcode.php:1842
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @jarmentorcomit,

    Thanks for contacting us! Sorry to hear about this error occurring. It’s possible this was caused by a problem that occurred during the installation or an update to the plugin, so I would first suggest going to WordPress Dashboard > Plugins > Installed Plugins, fully deactivating and deleting the plugin, and then doing a fresh install.

    If the same problem still occurs after this, we would need to do some further investigation, so if that happens please send us a support request on our website here.

    Best regards,
    Louis

    Thread Starter jarmentorcomit

    (@jarmentorcomit)

    Greetings Louis,

    Thanks for your reply. I’ll give re-installation a go and see if this persists.

    Thanks for your help,

    Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @jarmentorcomit,

    It’s my pleasure to help and thanks for the update! If you still run into any problems after this, please submit a support request here and we’ll be happy to investigate further.

    Best regards,

    Louis

    solutioinc

    (@solutioinc)

    Also getting a similar error when trying to edit a feed.

    Warning: json_decode() expects parameter 1 to be string, array given in /home/customer/www/website.com/public_html/wp-content/plugins/custom-facebook-feed/inc/CFF_Shortcode.php on line 1842

    That specific line of code is:

            $FBdata = $feed_data !== 'no_more_posts' ? json_decode($feed_data) : $feed_data;
    Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @solutioinc,

    Thank you for contacting us! We haven’t been able to recreate this issue on our end, so I would also suggest deactivating and deleting the plugin and doing a fresh install of the latest version if you haven’t tried this yet.

    If this does not resolve the issue, please send a support request through our website here and we’ll be happy to investigate further.

    Best regards,
    Louis

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error: Uncaught TypeError CFF_Shortcode’ is closed to new replies.