Hi, 

I am trying to make an autocomplete input work on Cake 3.0

The current 3.0 cookbook gives a code example here : 
http://book.cakephp.org/3.0/en/core-libraries/helpers/form.html

If I try it I get an error message: 
*Fatal error*: Declaration of App\View\Widget\Autocomplete::render() must 
be compatible with Cake\View\Widget\WidgetInterface::render(array $data, 
Cake\View\Form\ContextInterface $context) in 
*/home/rrd/public_html/sanga/src/View/Widget/Autocomplete.php* on line 

*6*If I change my render function to 

*public function render(array $data, Cake\View\Form\ContextInterface 
$context) {*
Still I get the same error message.

Any idea how to solve this?

rrd

-- 
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