Parse error: syntax error, unexpected T_STRING

Viewing 2 posts - 1 through 2 (of 2 total)
#42868

PJMel
Member

Has anybody come across this when after re-installing the download-manager plugin, the message comes up:

Parse error: syntax error, unexpected T_STRING in /home/[my webserver path]/download-manager.php on line 12
Line 12 seems to be ‘namespace WPDM’

I have little php experience but the plugin will not activate because of this error. I had to previously delete the plugin via FTP as the update process froze my WP dashboard and stopped access to the website! I then installed it again successfully but activation remains unsuccessful but the website is accessible – without the download capability.

Any thoughts please?

#42942

Jass
Moderator

Extremely sorry for your inconvenience. We have improved code base and using namespace, which require php v5.3.0+ and php version in server require namespace support( http://php.net/manual/en/language.namespaces.basics.php ). You can get back the previous version from here https://downloads.wordpress.org/plugin/download-manager.2.8.3.zip .

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.