PHP Redmine API

Added by Ezequiel Gottelli about 1 year ago

Hi everyone, since I updated Redmine to version 3.4.2 the PHP Redmine API don't works. I use the same code that I was developed for version of Redmine 3.3.3.

It throw me this message

string(12) "Syntax error"

Here is my code

_require_once 'data/users.php';_
_require_once 'vendor/autoload.php';_

_$client = new Redmine\Client('', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');_

_$user = $client->user->show($active_users_id[$i]);_

The same code works good in a version of Redmine 3.3.3

Can anyone help me?