New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Error: Call to a member function columns() on null

Rizky Syazuli April 1, 2021 by Rizky Syazuli

Hi,

I'm just starting out with Statamic v3. Just casually setting up my site and whatnot. But after creating a new collection and then trying to access it. I got this error:

Call to a member function columns() on null

The error came from this file:

vendor/statamic/cms/src/Http/Controllers/CP/Collections/CollectionsController.php:68

Not sure what's going on. Maybe I'm missing something?

Answered by Duncan McClean!
>>>>>>> Answered <<<<<<<
5 Replies
2 Followers