# |
Apr 16th 2018, 14:42 |
neon1024 |
`Deprecated (16384): RequestHandlerComponent::beforeRedirect() is deprecated. This functionality will be removed in 4.0.0. Set the `enableBeforeRedirect` option to `false` to disable this warning. - /Users/matt/Sites/breakdownapi/vendor/cakephp/cakephp/src/Event/EventManager.php, line: 353 [CORE/src/Core/functions.php, line 305]` |
# |
Apr 16th 2018, 14:41 |
jeremyharris |
oh interesting. what method? |
# |
Apr 16th 2018, 14:41 |
neon1024 |
As the call stack is for the debugger and not the thing which generated the original exception |
# |
Apr 16th 2018, 14:41 |
neon1024 |
Quite confusing, when the debugger is throwing a runtime for deprecation |
# |
Apr 16th 2018, 14:40 |
neon1024 |
SO the actual error is hidden |
# |
Apr 16th 2018, 14:40 |
neon1024 |
The error my colleague has seems to be that the core itsself is using a deprecated method, which then is throwing a new exception |
# |
Apr 16th 2018, 14:38 |
jeremyharris |
check out this: https://book.cakephp.org/3.0/en/appendices/3-6-migration-guide.html#disabling-deprecation-warnings |
# |
Apr 16th 2018, 14:37 |
neon1024 |
Perhaps that’s what they’re seeing then |
# |
Apr 16th 2018, 14:37 |
jeremyharris |
yes |
# |
Apr 16th 2018, 14:36 |
neon1024 |
I didn’t try it yet |
# |
Apr 16th 2018, 14:36 |
neon1024 |
Is this the release which throws runtime exceptions for deprecations? |
# |
Apr 16th 2018, 14:36 |
jeremyharris |
you can disable deprecations for now, and slowly correct them with rector/manually |
# |
Apr 16th 2018, 14:36 |
neon1024 |
Like, upgrade and the site won’t even render kind of exploding |
# |
Apr 16th 2018, 14:35 |
neon1024 |
My colleagues are telling me that upgrading to 3.6 is exploding everything |
# |
Apr 16th 2018, 14:35 |
neon1024 |
Did anyone do a Rector for Cake 3.6 yet? -> https://github.com/rectorphp/rector |
# |
Apr 16th 2018, 14:27 |
dereuromark |
and yeah, it will need more stuff to be added, it is rather incomplete. |
# |
Apr 16th 2018, 14:27 |
dereuromark |
see my blog post |
# |
Apr 16th 2018, 14:24 |
mikesmoniker |
Has anyone looked at / tried `rectorphp/rector`? I see a partial config for Cake 3.6 that I may look into expanding. |
# |
Apr 16th 2018, 13:19 |
xinobi |
I can see crabstudio > src / ... under vendor also added Plugin::load('Recaptcha'); under bootstrap.php |
# |
Apr 16th 2018, 13:14 |
xinobi |
Error: Create the class RecaptchaHelper below in file: src/View/Helper/RecaptchaHelper.php |
# |
Apr 16th 2018, 13:14 |
xinobi |
I'm using initializer to $this->loadComponent('Recaptcha.Recaptcha', [ ... ] |
# |
Apr 16th 2018, 13:13 |
xinobi |
I'm using https://github.com/agiletechvn/Recaptcha after all instructions I find my self with: Error: RecaptchaHelper could not be found. |
# |
Apr 16th 2018, 12:03 |
spencdev |
Good morning! |
# |
Apr 16th 2018, 11:06 |
neon1024 |
Afternoon everyone |
# |
Apr 16th 2018, 09:50 |
edgaras.jan |
but still check date in validator |
# |
Apr 16th 2018, 09:50 |
edgaras.jan |
there is min attribute `<input type="date" name="bday" min="2000-01-02">`, so add today date |
# |
Apr 16th 2018, 09:15 |
portilloster |
I´m trying this but it´s not working: echo $this->Form->control('FechaAltaSolicitud',[array('rule' => array('comparison','<', date()), 'message' => 'Dates cannot be in the past.')]); |
# |
Apr 16th 2018, 09:14 |
portilloster |
Hi guys, is there a simply way to validate a date from the form that cannot be in the past? |
# |
Apr 16th 2018, 08:45 |
joopm |
is that right that,if i use loadModel('ModelName');....and make a query statement for the foregn models the Query interface willl be used to pass elements between models ? |
# |
Apr 16th 2018, 08:44 |
joopm |
hello |
# |
Apr 16th 2018, 07:23 |
djmenkveld |
I'm using CakePHP 2.x |
# |
Apr 16th 2018, 07:23 |
djmenkveld |
Hi all, I'm getting a 'Call to a member function searchCustomer() on null' when I call a function of another controller and that controller function calls a function of a component... Anybody an idea? (if I call the component function directly in my controller it executes) |
# |
Apr 16th 2018, 05:05 |
prasanna.venkat |
did anyone know how to use map reduce? |
# |
Apr 16th 2018, 05:04 |
prasanna.venkat |
hi |
# |
Apr 15th 2018, 19:09 |
stalkerxxl |
I thought that login - for guests for auth.users - logout |
# |
Apr 15th 2018, 19:02 |
saeideng |
logout can be a public action |
# |
Apr 15th 2018, 18:54 |
stalkerxxl |
File uploaded https://cakesf.slack.com/files/UA5RA3X9V/FA6D9FZUG/image.png / https://slack-files.com/T053DPNCM-FA6D9FZUG-63e3c4caaa |
# |
Apr 15th 2018, 18:53 |
stalkerxxl |
The documentation says that you need to allow unauthorized users to add and logout actions $ this-> Auth-> allow (['add', 'logout']); Why does an unauthorized user - action logout? Is this a bug in the documentation or am I misunderstanding something? |
# |
Apr 15th 2018, 18:53 |
stalkerxxl |
Hi guys! |
# |
Apr 15th 2018, 17:28 |
nitesh573 |
is there anyone |
# |
Apr 15th 2018, 17:28 |
nitesh573 |
hi |