Closed ahmadbadpey closed 6 years ago
Try this:
Add 2 lines into file AutoLoader.php into function
private function alias($className, $currentClass)
{
...
to get
private function alias($className, $currentClass) { if ($className == 'Luracast\Restler\string') return; if ($className == 'Luracast\Restler\mixed') return;
Related to #571 and fixed in a7f922eca070cf322fb7398141628fbaccdd675f
First I activated API module in dolibarr.
Then to use API I got a token via
http://dolibarr.dev/api/index.php/login?login=zarsam&password=myPass
url and all things was successful hitherto.But when go to
http://dolibarr.dev/api/index.php/explorer
to see API I got this error about 5 times:Warning: Class 'Luracast\Restler\mixed' not found in D:\wamp\www\dolibarr\htdocs\includes\restler\framework\Luracast\Restler\AutoLoader.php on line <i>307</i>
I'm using php 7.0.10 first and then switch to 5.6.25 but no things is changed.