• Resolved Howdy_McGee

    (@howdy_mcgee)


    Hello,

    I’m running PHP 8.0 and hitting a Fatal Error originating from this plugin. Here’s what the stack trace looks like:

    PHP Fatal error:  Uncaught TypeError: stristr(): Argument #1 ($haystack) must be of type string, array given in /plugins/custom-facebook-feed/inc/CFF_Utils.php:505
    Stack trace:
    #0 /plugins/custom-facebook-feed/inc/CFF_Utils.php(505): stristr()
    #1 /plugins/custom-facebook-feed/inc/CFF_Shortcode_Display.php(352): CustomFacebookFeed\CFF_Utils::stripos()
    #2 /plugins/custom-facebook-feed/inc/CFF_Shortcode.php(389): CustomFacebookFeed\CFF_Shortcode_Display->check_show_section()
    #3 /wp-includes/shortcodes.php(355): CustomFacebookFeed\CFF_Shortcode->display_cff()
    #4 [internal function]: do_shortcode_tag()
    #5 /wp-includes/shortcodes.php(227): preg_replace_callback()
    #6 /wp-includes/class-wp-hook.php(308): FLBuilder::render_content()
    #7 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #8 /wp-includes/post-template.php(255): apply_filters()
    #9 /themes/page-builder-framework/page.php(42): the_content()
    #10 /wp-includes/template-loader.php(106): include('...')
    #11 /wp-blog-header.php(19): require_once('...')
    #12 /index.php(17): require('...')
    #13 {main}
      thrown in /plugins/custom-facebook-feed/inc/CFF_Utils.php on line 505

    Any idea when this plugin will be PHP 8 compatible?

Viewing 1 replies (of 1 total)
  • Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @howdy_mcgee,

    Thank you for contacting us! I have notified our development team of this issue so they can investigate and make any necessary changes. Please be sure to keep your plugin up-to-date to receive any updates as soon as they are available. Apologies for the inconvenience, and thanks in advance for your patience. If I can help with any other questions or concerns for now, please let me know.

    Thanks!

    Louis

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error with stristr()’ is closed to new replies.