shiny-code icon indicating copy to clipboard operation
shiny-code copied to clipboard

Install failure

Open mhsattarian opened this issue 5 years ago • 5 comments

Hi, after installing, I faced this error when trying to activate the plugin:

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/vision/domains/class.vision/public_html/blog/wp-content/plugins/shiny-code/php/Plugin.php on line 31

mhsattarian avatar Oct 31 '19 08:10 mhsattarian

Are you running PHP 7 or greater?

afragen avatar Oct 31 '19 15:10 afragen

Sorry for the late response, my PHP version is 5.6.36.

mhsattarian avatar Nov 06 '19 20:11 mhsattarian

The requirements for this plugin are PHP 7 https://github.com/cedaro/shiny-code/blob/25363f3b58b107e496985e2b845d19ba483776a2/shiny-code.php#L20

afragen avatar Nov 06 '19 20:11 afragen

What version of WP are you running? Current versions should not allow you to activate the plugin based on its requirement and you server.

afragen avatar Nov 07 '19 02:11 afragen

my WP version is 5.2.4.

mhsattarian avatar Nov 07 '19 11:11 mhsattarian