<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>PHP 8: Smash Balloon or Genesis?

[ad_1]

Replies: 1

Hi. I have a site generated this error after upgrading to PHP 8 from 7.4. The site is using Genesis framework, which I see sidebar code here. So I wonder if your plugin is compatible with PHP 8? Or this is something that Genesis needs to fix in their sidebar code? Thank you.

[Thu Jul 06 15:27:11.021688 2023] [lsapi:error] [pid 193063:tid 139995490789120] [client client-IP-address:0] [host mydomain.com] Backend fatal error: PHP Fatal error:  Uncaught TypeError: base64_decode(): Argument #1 ($string) must be of type string, array given in /home/hostingusername/domains/mydomain.com/public_html/wp-content/plugins/custom-facebook-feed/inc/SB_Facebook_Data_Encryption.php:99\nStack trace:\n#0 /home/hostingusername/domains/mydomain.com/public_html/wp-content/plugins/custom-facebook-feed/inc/SB_Facebook_Data_Encryption.php(99): base64_decode()\n#1 /home/hostingusername/domains/mydomain.com/public_html/wp-content/plugins/custom-facebook-feed/inc/CFF_Shortcode.php(1846): CustomFacebookFeed\\SB_Facebook_Data_Encryption->decrypt()\n#2 /home/hostingusername/domains/mydomain.com/public_html/wp-content/plugins/custom-facebook-feed/inc/CFF_Shortcode.php(298): CustomFacebookFeed\\CFF_Shortcode->get_settings_for_feed()\n#3 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/shortcodes.php(355): CustomFacebookFeed\\CFF_Shortcode->display_cff()\n#4 [internal function]: do_shortcode_tag()\n#5 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/shortcodes.php(227): preg_replace_callback()\n#6 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(310): do_shortcode()\n#7 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#8 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/widgets/class-wp-widget-text.php(281): apply_filters()\n#9 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/class-wp-widget.php(394): WP_Widget_Text->widget()\n#10 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/widgets.php(835): WP_Widget->display_callback()\n#11 /home/hostingusername/domains/mydomain.com/public_html/wp-content/themes/genesis/lib/structure/sidebar.php(24): dynamic_sidebar()\n#12 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(308): genesis_do_sidebar()\n#13 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#14 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#15 /home/hostingusername/domains/mydomain.com/public_html/wp-content/themes/genesis/sidebar.php(34): do_action()\n#16 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/template.php(783): require_once('/home/hostingusername/dom...')\n#17 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/template.php(718): load_template()\n#18 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/general-template.php(136): locate_template()\n#19 /home/hostingusername/domains/mydomain.com/public_html/wp-content/themes/genesis/lib/structure/layout.php(333): get_sidebar()\n#20 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(308): genesis_get_sidebar()\n#21 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#22 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#23 /home/hostingusername/domains/mydomain.com/public_html/wp-content/themes/genesis/lib/framework.php(87): do_action()\n#24 /home/hostingusername/domains/mydomain.com/public_html/wp-content/themes/genesis/index.php(15): genesis()\n#25 /home/hostingusername/domains/mydomain.com/public_html/wp-includes/template-loader.php(106): include('/home/hostingusername/dom...')\n#26 /home/hostingusername/domains/mydomain.com/public_html/wp-blog-header.php(19): require_once('/home/hostingusername/dom...')\n#27 /home/hostingusername/domains/mydomain.com/public_html/index.php(17): require('/home/hostingusername/dom...')\n#28 {main}\n  thrown in /home/hostingusername/domains/mydomain.com/public_html/wp-content/plugins/custom-facebook-feed/inc/SB_Facebook_Data_Encryption.php on line 99\n

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer