I have an old plugin I am converting to work with 2.x and have run into an
error and need a bit of help from anyone who might know the reason for this:

 

Error:

Warning (4096): Argument 1 passed to HtmlHelper::__construct() must be an
instance of View, none given, called in .. on line 377

 

In the helper:

public function __construct()

{

       $this->View =& ClassRegistry::getObject('view'); // this is line 377
from the error log

       $this->init();

}

 

 

Any help would be greatly appreciated.

 

Dave

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to