vwmoose's avatar

Problem Method [isDeferred] does not exist.

I had a working package and needed to split the class into two different controllers. I copied the initial controller to another filename, edited the original class and attempted to run my app. It then appeared that Laravel was still seeing the copied controller file as the original so renamed the class to something completely different so the new controller file would be the class i wanted. After renaming the class it now appears I've got an issue with a method [isDeferred] not being present. I'm assuming its something to do with the controller registration but am getting no where fast!

Many thanks in advance for any insight you can provide.

0 likes
3 replies
vwmoose's avatar

Yes I ran this in the project root but didn't appear to fix the problem.

vwmoose's avatar

Please ignore this post as I've found the stupid mistake I made. I'd put the controller class reference in the Providers section in app.php by mistake. Sometimes a simple 5 minutes not thinking about the problem helps you see the issue at hand. Thanks anyway.

2 likes

Please or to participate in this conversation.