Parse error with PHP 5.4.45

Hello,

Just installed Illdy.

Noticed in the FAQ about making sure to run at least 5.4.24. verified my version as 5.4.45.

Parse error: syntax error, unexpected T_STATIC in /home/compname/public_html/wp/wp-content/themes/illdy/inc/components/entry-meta/class.mt-entry-meta.php on line 50

48- public static function getInstance()
49- {
50- if (null === static::$instance) {
51- static::$instance = new static();
52- }
53-
54- return static::$instance;

Any recommendations?

Thanks, Trevor

For some reason the php version showed 5.4.45 but was defaulted in the cpanel>PHP Configuration to use 5.2. Solved!! :slight_smile:

Theme is up and running!

Cheers!

That’s great news, I skipped a couple of heart beats as this is the only way forward to fix that parse error.

I’m glad that you figured it out, after all.

Best regards

Was scratching my head on this one for a while.

The Theme is lovely, excited to get the site up and running!

Thank you!

Hello, my friend is using PHP 5.2.17 and gave the same error as he did to correct it?

Hi Herlon Fernando,

Yes, change in cpanel>PHP from PHP 5.2.17 in at least 5.4.24 as it is in our FAQ.

thank you,

Cristian