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 →

Call to a member function field() on null

Astute Graphics October 6, 2020 by Astute Graphics

Statamic v3.0.15

PHP v7.3

Hi Trying to add a nav menu which is linked to the pages collection. When trying to add a link to an entry this error is thrown - local.ERROR: Call to a member function field() on null {"userId":"b57f26d8- c943-4ad5-b74f-75be1563604a","exception":"[object] (Error(code: 0): Call to a member function field() on null at Users/steve/Code/publicwebsite_v3/vendor/statamic/cms/src/Data/DataCollection. php:223)

I have imported my Statamic v2 site using the migration tool so this might be causing the issue, any help appreciated.

>>>>>>> Unanswered <<<<<<<
4 Replies
3 Followers