• Resolved Javi

    (@wizard_)


    Hello!

    I upgraded to the latest version (3.0.0) and I’ve this error code:

    Parse error: syntax error, unexpected T_STRING in /home/fjp/public_html/wp-content/plugins/wp-typography/class-wp-typography.php on line 202

    I downgrade to the previous version until this can be solved.

    Thanks!

    https://www.ads-software.com/plugins/wp-typography/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pepe

    (@pputzer)

    Which version of PHP are you running? This sounds like a non-namespace version of PHP (i.e. below 5.3.0).

    While the plugin should check for PHP 5.2 before loading, I just noticed that the addition to namespaces breaks this at the parsing stage. I’ll try to fix this as soon as possible. However, to actually run wp-Typography 3.0.0, you will have to upgrade your PHP installation to at least 5.3.0.

    Thread Starter Javi

    (@wizard_)

    Hello again. Yes, that’s the problem, but unfortunately I can’t upgrade my version of PHP (shared hosting), the server currently runs PHP 5.2.17. I’ll have to wait and see if I can upgrade in the future to 3.0.0 without PHP 5.3.0 or later. Thank you very much for the quick reply!

    Plugin Author pepe

    (@pputzer)

    No, sorry, there will never be a 3.x version without the namespaces (i.e. >= PHP 5.3) requirement because the HTML5 parser won’t work without them. Sorry that I don’t have better news ??

    (I don’t know who your host is, but PHP 5.2 is so far out of date that every provider should have some upgrade path by now.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unexpected T_STRING (version 3.0.0)’ is closed to new replies.