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 316 forks source link

Got an error while providing an API in production mode #310

Closed uded closed 10 years ago

uded commented 10 years ago

After switching to production mode I have a problem with the library:

PHP Notice:  Undefined index: apiVersionMap in /.../vendor/luracast/restler/vendor/Luracast/Restler/Restler.php on line 1217
PHP Stack trace:
PHP   1. {main}() /var/www/gustl-production/index.php:0
PHP   2. Luracast\\Restler\\Restler->addAPIClass() /.../index.php:19

When the production mode is false or default, it seems to work without any issues.

uded commented 10 years ago

OK, stupid mistake on our end - the files were not merged correctly via Composer. Please, close the issue.