laravel-enso / tables

Bulma themed, VueJS powered Datatable with server-side loading and JSON template setup
https://www.laravel-enso.com/examples/table
632 stars 77 forks source link

Strange Argument 1 passed to LaravelEnso\Tables\Services\Template::load() must be an instance of LaravelEnso\Helpers\Services\Obj, Error #253

Closed Schwenniii closed 3 years ago

Schwenniii commented 3 years ago

This is a bug?.

Prerequisites

Description

i have one Project on 3 Servers. all 3 runs with apache2 and php7.4 on the production server i get this error message for all table init requests:

production.ERROR: Argument 1 passed to LaravelEnso\Tables\Services\Template::load() must be an instance of LaravelEnso\Helpers\Services\Obj, instance of __PHP_Incomplete_Class given, called in /vendor/laravel-enso/tables/src/Services/TemplateLoader.php on line 50

i have delete cache files reupload again nothing helps.

Actual behavior

table init not work

gandesc commented 3 years ago

Hi Schwenniii,

We use the same package on multiple projects/servers and so far, have not encountered this issue.

Judging by the error details, as well as the fact that you have the same code working on 2 out of 3 servers, suggests an issue with the server/apache/deployment/dependencies setup.

aocneanu commented 3 years ago

For sure this is not a bug related to this package. We have tens of live and local instances and never had this problem.