I forgot to add
use Cake\Validation\Validator;
to the ArticlesTable file,
I also forgot to add
public function beforefilter(Event $event){
To the AppController.php file.
Thanks all
On Mon, Mar 14, 2016 at 12:59 PM, Willem Schwarte <[email protected]>
wrote:
> So what was the problem?
>
> Op 14 mrt. 2016 om 12:43 heeft Clement Crownrise <
> [email protected]> het volgende geschreven:
>
> Thanks All, the error has been fixed.
>
>
>
> On Saturday, March 12, 2016 at 10:30:25 AM UTC+1, Clement Crownrise wrote:
>>
>> Hello, I am doing the blog tutorial in cakephp 3, but I got this notice
>> at the top of my page, please does anyone know the meaning and how to solve
>> it?
>>
>> *Strict* (2048): Declaration of App\Controller\AppController::beforefilter()
>> should be compatible with
>> Cake\Controller\Controller::beforeFilter(Cake\Event\Event $event)
>> [*APP/Controller\AppController.php*, line *29*]
>>
>>
>>
>> *Strict* (2048): Declaration of
>> App\Controller\UsersController::beforefilter() should be compatible with
>> App\Controller\AppController::beforefilter()
>> [*APP/Controller\UsersController.php*, line *10*]
>>
>>
>> Your help will be appreciated
>>
> --
> Sign up for our Newsletter for updates.
> http://cakephp.org/newsletter/signup
>
> We will soon be closing this Google Group. But don't worry, we have
> something better coming. Stay tuned for an updated from the CakePHP Team
> soon.
>
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Follow 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].
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Sign up for our Newsletter for updates.
> http://cakephp.org/newsletter/signup
>
> We will soon be closing this Google Group. But don't worry, we have
> something better coming. Stay tuned for an updated from the CakePHP Team
> soon.
>
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Follow us on Twitter http://twitter.com/CakePHP
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/qEur8oKsm48/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
http://www.clementcrownrise.name/images/nameing.gif
--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will soon be closing this Google Group. But don't worry, we have something
better coming. Stay tuned for an updated from the CakePHP Team soon.
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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].
For more options, visit https://groups.google.com/d/optout.