Fatal Error with stristr()
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal Error with stristr()’ is closed to new replies.