Orkun Posted October 2, 2019 Share Posted October 2, 2019 Hi Guys After upgrading from 2.7.3 to 3.0.141 I am getting following errors when editing pages that have a page reference field with php custom code option enabled. On the corresponding page/template I have these two fields/custom code: I have tried to solve it by adding namespace ProcessWire; at the top of the custom code (for both pagefields) but that doens't worked. The error still persist. How can I solve this? KR Orkun Link to comment Share on other sites More sharing options...
alxndre Posted October 2, 2019 Share Posted October 2, 2019 Have you cleared the modules cache and the compiled files? Link to comment Share on other sites More sharing options...
Orkun Posted October 2, 2019 Author Share Posted October 2, 2019 1 hour ago, alxndre said: Have you cleared the modules cache and the compiled files? I already have but it didn't helped. Link to comment Share on other sites More sharing options...
Orkun Posted October 2, 2019 Author Share Posted October 2, 2019 Nevermind. There was a repeater inside the template which also had a pagefield with custom code in it. :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now