Hello i can’t find but which version is supported on theme Sparkling can we use php 7.4 without problem ? Thanks
Not sure about the 7.4 version but it works without any problem on 7.2 version,
Soon we will make it compatible with the latest version of the PHP
I am using old version of sparkling theme 2.3.2 with wp 5.5.3 and php 7.4.13, its working. I would like to use wp 5.6 and php 8, but with that flexslider is not working. So i wait new release, but i would like to use old and thinner version.
I would not recommend using PHP version 5.6 this is even not allowed by WordPress, also, version 8 is not ready as well for WordPress
PHP 8 not compatible
After upgrading to PHP 8.0 the site does not work -shows a white page- and causes this error:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Undefined constant “HEADER” in […]/wp-content/themes/sparkling/inc/custom-header.php:56
Downgrading to PHP 7.4, site works again.
As far as I understand the code at wp-content/themes/sparkling/inc/custom-header.php, this must be chenged:
@$a = HEADER; // @codingStandardsIgnoreLine @$b = TEXTCOLOR; // @codingStandardsIgnoreLine
@$a = 'HEADER'; // @codingStandardsIgnoreLine @$b = 'TEXTCOLOR'; // @codingStandardsIgnoreLine
Change must be applied to parent theme, not child theme.
With this changes, site works in PHP 8.
This is taken from sparkling theme wordpress support forum:
Even WordPress is not fully ready for PHP 8 yet, so, its also not a good idea to have it on the site