Luracast / Restler

Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API
http://luracast.com/products/restler/
GNU Lesser General Public License v2.1
1.36k stars 315 forks source link

Warning: Class 'Luracast\Restler\mixed' not found error in Dolibarr 6 #590

Closed ahmadbadpey closed 6 years ago

ahmadbadpey commented 7 years ago

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.

eldy commented 7 years ago

Try this:

Arul- commented 6 years ago

Related to #571 and fixed in a7f922eca070cf322fb7398141628fbaccdd675f