Log message #4132698

# At Username Text
# Apr 16th 2018, 14:47 glanceded Hello guys. I have a problem with my cakephp 2 application. With the SecurityComponent basically. These is what is happening: I have 2 pages: index and login. On index page there is a log in form and on login page there's also a log in form. If you enter the wrong details on the index page, it makes a post to log in page where the request is checked and return a message: can't log in. Now the csrf token is not refreshed and if you enter
# Apr 16th 2018, 14:46 dereuromark neon1024: Destroying the plugin-ecosystem how it worked so far is far worse IMO. It already started with bootstrap-ui and co.
# Apr 16th 2018, 14:46 jeremyharris @neon1024 yeah we’re feeling it
# Apr 16th 2018, 14:46 dereuromark Opt-in for sth like that is better than opt-out, for all levels of programming or architecture (e.g. plugins)
# Apr 16th 2018, 14:46 neon1024 This will cause an utter avalanche of support
# Apr 16th 2018, 14:45 dereuromark @neon1024 You can support https://github.com/cakephp/cakephp/pull/11889 which would have solved this cleanly and without all the fuss happening now.
# Apr 16th 2018, 14:45 jeremyharris disabling *deprecations* from the errorLevel, yes
# Apr 16th 2018, 14:45 jeremyharris also, not a lot of people tested the RCs out apparently :(
# Apr 16th 2018, 14:45 neon1024 So disabling the exceptions is the thing to do then/
# Apr 16th 2018, 14:44 jeremyharris yeah we had discussed this in a ticket and the consensus seemed to say it was ok since deprecations can be easily silenced
# Apr 16th 2018, 14:44 neon1024 Not what I expected for a minor release
# Apr 16th 2018, 14:44 neon1024 Noice.
# Apr 16th 2018, 14:44 neon1024 So 3.6 is a breaking release
# Apr 16th 2018, 14:44 neon1024 So upgrading requires application changes
# Apr 16th 2018, 14:42 jeremyharris this should still be suppressed by disabling deprecations in error level
# Apr 16th 2018, 14:42 dereuromark See https://github.com/cakephp/app/pull/592
# Apr 16th 2018, 14:42 neon1024 Seems the core component ;)
# 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