Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3283

Parse error: syntax error, unexpected '?>', expecting function (T_FUNCTION) (no replies)

$
0
0
Hello, I'm experiencing the error as in the subject.

My configuration

Windows 10 x64 1607
Wamp 3.0.8 x64
Apache 2.4.23
PHP 5.6.25
MySQL 5.7.14

Icon is Green, all is ok, localhost is reachable, phpMyAdmin works as well

Path is C:\wamp64\
Antivirus is standard one that came with Win10 - Windows Defender


This is the situation:
I've installed WordPress 4.7.1 installation went without issues, WordPress is accessible and works without any errors.
Then I've tried to add one theme and after adding it, if I go to Appearance->Themes and click on Live Preview I get

( ! ) Parse error: syntax error, unexpected '?>', expecting function (T_FUNCTION) in C:\wamp64\www\wordpress\wp-content\themes\streamstore-6rZhg3-pLPPrG\inc\options.php on line 1767

However, I've installed the theme without any issue on my shared hosting that has the following characteristics:
Apache Version 2.2.27
PHP Version 5.4.30 (native), switched to 5.6.29 in cPanel
MySQL Version 5.5.52-cll

Obviously, the environment differs but what's exactly the culprit is beyond me. I'd really appreciate any help in resolving this.

Best regards!

Viewing all articles
Browse latest Browse all 3283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>