Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error: syntax error, unexpected T_STRING, expecting #1

Closed
ozten opened this issue Jun 23, 2013 · 3 comments
Closed

Parse error: syntax error, unexpected T_STRING, expecting #1

ozten opened this issue Jun 23, 2013 · 3 comments

Comments

@ozten
Copy link

ozten commented Jun 23, 2013

Wordpress 3.5.2

PHP 5.2.17 (cli) (built: Mar 1 2012 16:36:14)

Parse error: syntax error, unexpected T_STRING, expecting
  T_CONSTANT_ENCAPSED_STRING or '(' in 
/home/ozten/ozten.com/wordpress/wp-content/plugins/wordpress-webmention
/webmention.php on line 37

This line 37 is a backslash which I think is a newer PHP namespacing feature, or something.

Any ideas?

@pfefferle
Copy link
Owner

Yes, that are namespaces... The plugin needs at least PHP 5.3 because of the php-uf2 dependencies

@barnabywalters
Copy link

@ozten @pfefferle yep, php-mf2 requires at least PHP 5.3

PHP 5.2 is in end of life since 2011[1], please please upgrade, preferably to 5.4. You will see huge improvements in performance, mem usage and amount of code which will run on your system.

[1] http://php.net/eol.php

@ozten
Copy link
Author

ozten commented Jun 23, 2013

Closing bug. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants