Log message #4132707

# At Username Text
# Apr 16th 2018, 16:11 obinoob How can I register the recaptcha helper?
# Apr 16th 2018, 16:06 obinoob I already used a gazillion of plugins I'm pretty sure I'm doing everything right, I can only blame this line https://github.com/agiletechvn/Recaptcha/blob/master/src/Controller/Component/RecaptchaComponent.php#L40
# Apr 16th 2018, 16:02 obinoob Anyone ever used https://github.com/agiletechvn/Recaptcha I'm getting Missing Helper Cake\View\Exception\MissingHelperException
# Apr 16th 2018, 15:26 meder http://dpaste.com/3HZ61YM how do I make these optional? i also tried 'on' => function($context) { return !empty($context['data']['alias']); }
# Apr 16th 2018, 15:03 neon1024 Some good points @dereuromark :thumbsup:
# Apr 16th 2018, 14:52 neon1024 @dereuromark Thanks I’ll take a read
# Apr 16th 2018, 14:47 glanceded Do you know anything about this error?
# Apr 16th 2018, 14:47 slackebot2 the details again it will get you a csrf error
# 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.