This error is driving me nuts.
I don't know when this started happening nor remember exactly what I was working on around the time this started occurring so the question might be a little broad but any additional info you'd need let me know and I'll update this.
I have a class called UserManager which retrieves user data from a server and saves it into the CMSes database. The script works fine, I ran it, it collected the data and stored it nicely. But, now whenever I run UserManager or even navigate around some parts of the site I keep getting these in my error logs
[11-Apr-2016 17:15:11]
Warning at framework/core/Object.php line 642:
call_user_func() expects parameter 1 to be a valid callback,
class 'UserManager' does not have a method 'add_to_class'
(http://intranet32.local/Security/login?BackURL=/home/)
[11-Apr-2016 17:15:20]
Warning at framework/core/Object.php line 642:
call_user_func() expects parameter 1 to be a valid callback,
class 'UserManager' does not have a method 'add_to_class'
(http://intranet32.local/Security/LoginForm)
[11-Apr-2016 17:29:43]
Warning at framework/core/Object.php line 642:
call_user_func() expects parameter 1 to be a valid callback,
class 'UserManager' does not have a method 'add_to_class'
(http://intranet32.local/usermanager/updateAllUserData)
I haven't been able to find anything relating to this by searching around nor have I come across anyone who's experiencing similar issues. Could someone tell me wtf this is and what steps I could take to resolve this issue?