Hello there, after last update there seems to be a syntax error in the theme on my platform.
Parse error: syntax error, unexpected ‘[‘ in ……mywebsite……/public_html/wp-content/themes/xstore/theme/custom-styles.php on line 313
This is the line of code:
$menu_links_border_style = etheme_get_option(‘menu-border-style’)[‘border-style’];
$menu_links_border_style_hover = etheme_get_option(‘menu-border-style-hover’)[‘border-style’];
$menu_dropdown_border_style = etheme_get_option(‘menu_dropdown_border_style’)[‘border-style’];
$header_bg = etheme_get_custom_field(‘header_bg’, $post_id[‘id’]);
$header_bg_transparent = etheme_get_custom_field(‘header_transparent’, $post_id[‘id’]);
if ( $header_bg_transparent ) {
$header_bg = ‘transparent’;
}
After removing [‘border-style’]from above code my website seems to be functioning again.
Is this going to be resolved in future updates or is this something I can resolve myself?
As I am running on a somewhat older PHP version as my previous (live) website can’t handle a higher version. Once I completed this new website I am upgrading the php version.