Wednesday, May 21, 2014

Declaration of ExtendAssociationsBehavior::setup() should be compatible with ModelBehavior::setup(Model $model, $config = Array)

I want to put a newsletter in my website and I am using the following plugin:

https://github.com/edap/cakephp-newsletter-plugin

I already followed these steps:

Step 1: http://iandeth.dyndns.org/mt/ian/archives/20120110-cakephp-extendassociations-behavior/ExtendAssociations2Behavior.txt save it under Models/Behavior/ExtendAssociationsBehavior.php

I am getting the following error:

Declaration of ExtendAssociationsBehavior::setup() should be compatible with ModelBehavior::setup(Model $model, $config = Array)

How to solve this error

How do I enable Newsletter Plugin for cakephp



--
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: