Updating Site to PHP 7.4 (from 5.6) – Fatal error: Uncaught Error:
-
I’m working to clear these fatal errors when upgrading this WordPress site to PHP 7.4 (from 5.6). I’m new to PHP and not sure how to address these, so any help or guidance on the best course of action would be helpful. Thanks!
Fatal error: Uncaught Error: [] operator not supported for strings in
/home/customer/www/kingsbasinauthority.org/public_html/wp-content/plugins/LayerSlider/includes/slider_markup_init.php:86 Stack trace: #0
$data[] = '<script type="text/javascript">';
/home/customer/www/kingsbasinauthority.org/public_html/wp-content/plugins/LayerSlider/wp/shortcodes.php(40): include() #1
include LS_ROOT_PATH.'/includes/slider_markup_init.php';
/home/customer/www/kingsbasinauthority.org/public_html/wp-includes/shortcodes.php(356): layerslider_init(Array, ”, ‘layerslider’) #2
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
[internal function]: do_shortcode_tag(Array) #3
/home/customer/www/kingsbasinauthority.org/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(layers…’, ‘do_shortcode_ta…’, ‘[layerslider id…’) #4
$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
/home/customer/www/kingsbasinauthority.org/public_html/wp-content/themes/Karma/theme-template-part-slider.php(70): do_shortcode(‘[layerslider id…’) #5
echo do_shortcode(''.$slider_custom_shortcode.'');
/home/customer/www/kingsbasinauthority.org/public_html/wp-includes/template.php(772): require(‘/home/customer/…’) #6
require $_template_file;
/home/customer/www/kingsbasinauthority.org/public_html/wp-content/plugins/LayerSlider/includes/slider_markup_init.php on line 86
$data[] = '<script type="text/javascript">';
The page I need help with: [log in to see the link]
- The topic ‘Updating Site to PHP 7.4 (from 5.6) – Fatal error: Uncaught Error:’ is closed to new replies.