Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Error when trying to translate category

Status Resolved
Add-on / Version Publisher 2.3.1
Severity
EE Version 3.5.3

2op

Mar 27, 2017

When I try to translate a category I get the following error: Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’ in /var/www/html/homepages/public/new/gerenciador/user/addons/publisher/vendor/symfony/options-resolver/OptionsResolver.php on line 167

#1

BoldMinded (Brian)

Have you tried upgrading to 2.4 yet?

#2

2op

Just did that, the error still occurs.

#3

BoldMinded (Brian)

What version of PHP are you using again?

#4

2op

PHP Version 5.4.45

#5

BoldMinded (Brian)

It looks like that library is PHP 5.5+

Are you able to upgrade to 5.5?

#6

2op

Nope, unfortunately I’m not.

#7

BoldMinded (Brian)

I think that might be the only option.

I tried to support 5.4, but considering its end of life was over 2 years ago I can’t justify continuing to make sacrifices to how I write my add-ons and which 3rd party libraries I use.

#8

2op

Ouch :( ok, I’ll see what I can do about it.

Login to reply