Closed SKFrozenCloud closed 4 years ago
Also here is a dump of static::$engines which is split into $engine => $class
dd($engine);
array:3 [
"moloquent" => "Pimlie\DataTables\MongodbDataTable"
"mongodb-query" => "Pimlie\DataTables\MongodbQueryDataTable"
"mongodb-hybrid" => "Pimlie\DataTables\HybridMongodbQueryDataTable"
]
Update: I commented the line and it installed without any errors. I don't know if anything is broken though.
I'm having the same issue when installing via composer
Call to undefined function Pimlie\DataTables\camel_case()
at
\vendor\pimlie\laravel-datatables-mongodb\src\MongodbDataTablesServiceProvider.php:31
When I try to install the package (with all the necessary requirements already installed and configured):
composer require pimlie/laravel-datatables-mongodb:^1.1 -v
I get an error:
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function Pimlie\DataTables\camel_case()
at /opt/lampp/htdocs/site/vendor/pimlie/laravel-datatables-mongodb/src/MongodbDataTablesServiceProvider.php:31
Exception trace:
1 Pimlie\DataTables\MongodbDataTablesServiceProvider::boot() /opt/lampp/htdocs/site/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
2 call_user_func_array([]) /opt/lampp/htdocs/site/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32