Monday, July 28, 2014

Re: 3.x: Same Behaviour for Multiple Tables

Hmm, that's very odd. Can you add a die(stackTrace()); at the top of that file after the namespace declaration?

Also try looking for the string 'SpecialBehavior' in your project, there must be another class with that same name that you are loading somehow.

On Monday, July 28, 2014 8:16:08 PM UTC+2, Bernhard Minatti wrote:
the error is as follows:
[28-Jul-2014 16:14:06 UTC] PHP Fatal error:  Cannot redeclare class Cake\Model\Behavior\SpecialBehavior in /Applications/MAMP/htdocs/hometeam/src/Model/Behavior/SpecialBehavior.php on line 38

this comes directy from the php error log, cakephp itself does not log anything.

Am Montag, 28. Juli 2014 19:02:38 UTC+2 schrieb José Lorenzo:
Can you also paste the full error you are getting?

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