[horde] Help needed

Mike Poznecki poz_sa at yahoo.com
Wed Apr 11 11:17:36 UTC 2018


Hi, I have the following code in my new private function:
global $injector, $registry;
$sparams = $injector->getInstance('IMP_ Contacts')-> getAddressbookSearchParams();

Which I copied directly from another existing Horde page.  When I run it, I get:
PHP Fatal error: Call to a member function getInstance() on a non-object
I have tried many things but cannot get this to work. Can someone tell me what I am doing wrong?


More information about the horde mailing list