Just updated the salient theme and the salient core has thrown an error with site now unreachable.
WordPress version 5.6.2
Current theme: Salient Child Theme (version 1.0) Current plugin: Salient Core (version 1.8) PHP version 5.6.40
Error Details
=============
An error of type E_PARSE was caused in line 217 of the file /home/joycecom/intranet.joyce.com.au/wp-content/plugins/salient-core/includes/menu/class-nectar-setting-field.php. Error message: syntax error, unexpected 'switch' (T_SWITCH), expecting identifier (T_STRING)
That error is occurring due to the version of PHP you're using - Upgrading to PHP 7.0 or higher should correct it, but WordPress now states that the minimum required version of PHP is 7.2: https://meta.trac.wordpress.org/changeset/9959
Hey! I have a question about the loading speed of my site. My website: https://carnesmechanical.com/ It's in the red zone according to PageSpeed Insights. The main problems are: First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time. Do you plan to make other changes to the core Salient core to make the site like Google?
Just updated the salient theme and the salient core has thrown an error with site now unreachable.
WordPress version 5.6.2
Current theme: Salient Child Theme (version 1.0) Current plugin: Salient Core (version 1.8) PHP version 5.6.40
Error Details
=============
An error of type E_PARSE was caused in line 217 of the file /home/joycecom/intranet.joyce.com.au/wp-content/plugins/salient-core/includes/menu/class-nectar-setting-field.php. Error message: syntax error, unexpected 'switch' (T_SWITCH), expecting identifier (T_STRING)
Hey jscibilia,
That error is occurring due to the version of PHP you're using - Upgrading to PHP 7.0 or higher should correct it, but WordPress now states that the minimum required version of PHP is 7.2: https://meta.trac.wordpress.org/changeset/9959
Legends!
Thanks for the quick response. All working now.
Hey! I have a question about the loading speed of my site.
My website: https://carnesmechanical.com/
It's in the red zone according to PageSpeed Insights.
The main problems are:
First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time.
Do you plan to make other changes to the core Salient core to make the site like Google?
Hey David,
The new update includes improvements in those areas. Please view change log http://themenectar.com/changelogs/salient.html .
Thanks
ThemeNectar Support Team