Project

General

Profile

PHP Redmine API

Added by Ezequiel Gottelli over 6 years 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('http://xxx.xxx.xx.xx/', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');_

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

The same code works good in a version of Redmine 3.3.3

Can anyone help me?

Thanks!