Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Call to undefined method App\DataTables\ChallengeDataTable::render() #4

Open
WoodyNaDobhar opened this issue Mar 8, 2022 · 0 comments

Comments

@WoodyNaDobhar
Copy link

Using Laravel 8, and the instructions here:

https://infyom.com/open-source/laravelgenerator/docs/8.0/stisla-templates

and the following to generate the scaffolds:

artisan infyom:api_scaffold Challenge --factory --fromTable --tableName=challenges --ignoreFields=created_by,updated_by,deleted_by,created_at,updated_at,deleted_at --jqueryDT

When I register, login, and nav to /challenges, I get the following error:

Call to undefined method App\DataTables\ChallengeDataTable::render()
app/Http/Controllers/ChallengeController.php:32

When I check app/DataTables/ChallengeDataTables I can see the render function isn't there, and it doesn't seem to extend anything. Am I missing something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant