Question

I'm using Qcubed framework for my application and i'm getting this error:

Fatal error: Call to undefined method Users::LoadAll() in C:\xampp\htdocs\andret\admin\users.php on line 183

What is the cause of this problem?

Was it helpful?

Solution

Without more information or code examples I can only guess but you could try these things and see if they help. Check that users.php loads the QCubed framework, Check that you have run codegen and that Users.class.php exists in your includes/models directory. Is admin/users.php a class file? If so did you name the class Users? If that is the case you may want to rename that class as AdminUsers so that it doesn't conflict with the Users class in your models as of yet QCubed does not use PHP's name-spacing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top