Title: PHP 8 Deprecated code, warnings and fatal errors
Last modified: February 18, 2022

---

# PHP 8 Deprecated code, warnings and fatal errors

 *  [Gilligan](https://wordpress.org/support/users/playgod/)
 * (@playgod)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-deprecated-code-warnings-and-fatal-errors/)
 * I have just moved a multisite to new infrastructure with PHP 8.0, and find SB
   Child List causes a WSD Fatal error:
 *     ```
       [18-Feb-2022 14:35:07 UTC] PHP Warning:  Undefined array key "title" in /plugins/sb-child-list/sb_child_list.php on line 950
       [18-Feb-2022 14:35:07 UTC] PHP Warning:  Undefined array key "show_parent_link" in /plugins/sb-child-list/sb_child_list.php on line 951
       [18-Feb-2022 14:35:07 UTC] PHP Warning:  Undefined array key "text" in /plugins/sb-child-list/sb_child_list.php on line 952
       [18-Feb-2022 14:35:07 UTC] PHP Warning:  Undefined array key "template_id" in /plugins/sb-child-list/sb_child_list.php on line 977
       [18-Feb-2022 14:35:07 UTC] PHP Warning:  Undefined array key "template_id" in /plugins/sb-child-list/sb_child_list.php on line 977
       [18-Feb-2022 14:35:07 UTC] PHP Warning:  Undefined array key "template_id" in /plugins/sb-child-list/sb_child_list.php on line 977
       [18-Feb-2022 14:35:08 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /plugins/sb-child-list/sb_child_list.php:461
       Stack trace:
       #0 /wp-includes/shortcodes.php(356): sb_cl_filter_post()
       #1 [internal function]: do_shortcode_tag()
       #2 /wp-includes/shortcodes.php(228): preg_replace_callback()
       #3 /wp-includes/class-wp-hook.php(307): do_shortcode()
       #4 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
       #5 /wp-includes/post-template.php(253): apply_filters()
       #6 /themes/genesis/lib/structure/post.php(486): the_content()
       #7 /wp-includes/class-wp-hook.php(307): genesis_do_post_content()
       #8 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #9 /wp-includes/plugin.php(474): WP_Hook->do_action()
       #10 /themes/genesis/lib/structure/loops.php(119): do_action()
       #11 /themes/genesis/lib/structure/loops.php(38): genesis_standard_loop()
       #12 /wp-includes/class-wp-hook.php(307): genesis_do_loop()
       #13 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #14 /wp-includes/plugin.php(474): WP_Hook->do_action()
       #15 /themes/genesis/lib/framework.php(66): do_action()
       #16 /themes/genesis/page.php(15): genesis()
       #17 /wp-includes/template-loader.php(106): include('...')
       #18 /wp-blog-header.php(19): require_once('...')
       #19 /pvirtualmin/blog/releases/20220218-084628/web/index.php(6): require('...')
       #20 {main}
         thrown in /plugins/sb-child-list/sb_child_list.php on line 461
       ```
   

The topic ‘PHP 8 Deprecated code, warnings and fatal errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sb-child-list.svg)
 * [SB Child List](https://wordpress.org/plugins/sb-child-list/)
 * [Support Threads](https://wordpress.org/support/plugin/sb-child-list/)
 * [Active Topics](https://wordpress.org/support/plugin/sb-child-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sb-child-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sb-child-list/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Gilligan](https://wordpress.org/support/users/playgod/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/php-8-deprecated-code-warnings-and-fatal-errors/)
 * Status: not resolved