Warning: Attempt to read property "name" on null in /var/www/html/public/wp-content/themes/bestwh/inc/hooks/shortcodes/old-shortcodes.php on line 35
Fatal error: Uncaught TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, WP_Error given in /var/www/html/public/wp-content/themes/bestwh/inc/utils/HTML.php:187
Stack trace:
#0 /var/www/html/public/wp-content/themes/bestwh/inc/utils/HTML.php(187): htmlspecialchars()
#1 /var/www/html/public/wp-content/themes/bestwh/inc/utils/HTML.php(158): utils\HTML::encode()
#2 /var/www/html/public/wp-content/themes/bestwh/inc/utils/HTML.php(312): utils\HTML::renderTagAttributes()
#3 /var/www/html/public/wp-content/themes/bestwh/inc/hooks/shortcodes/old-shortcodes.php(35): utils\HTML::tag()
#4 /var/www/html/public/wp-includes/shortcodes.php(355): utils\Script::{closure}()
#5 [internal function]: do_shortcode_tag()
#6 /var/www/html/public/wp-includes/shortcodes.php(227): preg_replace_callback()
#7 /var/www/html/public/wp-includes/class-wp-hook.php(308): do_shortcode()
#8 /var/www/html/public/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#9 /var/www/html/public/wp-content/themes/bestwh/page-templates/controllers/single-how-to_old.php(17): apply_filters()
#10 /var/www/html/public/wp-includes/template.php(785): require('...')
#11 /var/www/html/public/wp-includes/template.php(718): load_template()
#12 /var/www/html/public/wp-includes/general-template.php(204): locate_template()
#13 /var/www/html/public/wp-content/themes/bestwh/single-how-to.php(11): get_template_part()
#14 /var/www/html/public/wp-includes/template-loader.php(106): include('...')
#15 /var/www/html/public/wp-blog-header.php(19): require_once('...')
#16 /var/www/html/public/index.php(17): require('...')
#17 /var/www/html/public/cache-index.php(9): require('...')
#18 [internal function]: {closure}()
#19 /var/www/html/public/wp-content/themes/bestwh/inc/components/PageCache.php(58): call_user_func()
#20 /var/www/html/public/cache-index.php(10): components\PageCache::handle()
#21 {main}
thrown in /var/www/html/public/wp-content/themes/bestwh/inc/utils/HTML.php on line 187