Log message #4172368

# At Username Text
# Jan 5th 2019, 17:54 josexato thanks for the sugestion, actually I think this happens when it tries to serilize routes for cache
# Jan 5th 2019, 17:48 challgren Try setting debug = false and see if it still happens
# Jan 5th 2019, 17:47 challgren Probably because its trying to serialize the request for debugging purposes
# Jan 5th 2019, 17:47 josexato yes
# Jan 5th 2019, 17:47 josexato My question is if there is a way to add later that configuration
# Jan 5th 2019, 17:47 challgren You using debug_kit?
# Jan 5th 2019, 17:46 josexato I understant this is becasue I am defining a closure as identity decorator for the authorization middleware
# Jan 5th 2019, 17:45 josexato but I am getting this error `Serialization of 'Closure' is not allowed #0 /var/www/html/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php(149):`
# Jan 5th 2019, 17:44 josexato hello one question regardin scoped middleware, I am trying to pass arguments to a middleware registration at routes in Application.php
# Jan 5th 2019, 17:33 kitcat711 my pleasure @ricksaccous: mauy be this is silly, but when I ask and finally found, I just let people know
# Jan 5th 2019, 16:28 ricksaccous @kitcat711 i enjoyed reading that
# Jan 5th 2019, 13:54 kitcat711 found it using methods_exists($this, $functionName) . Thx for reading
# Jan 5th 2019, 13:48 kitcat711 hello, what is the right way to check if a method exists from a model inside this model? I tried the php unction_exists() witout any success
# Jan 5th 2019, 10:05 birdy247 How are you
# Jan 5th 2019, 10:05 birdy247 Happy new year :slightly_smiling_face:
# Jan 5th 2019, 10:05 birdy247 @hmic thanks
# Jan 5th 2019, 09:59 hmic birdy247: since 3.5 or something flash messages are stacked by default, not replaced. so you can just do that
# Jan 5th 2019, 09:54 birdy247 Seems a bit long winded
# Jan 5th 2019, 09:54 birdy247 I thought about looping through the errors and then assigning each to a flash
# Jan 5th 2019, 09:53 birdy247 Does anyone know any neat ways to show multiple Flash messages from any validation/rule errors?
# Jan 5th 2019, 06:34 AVol Hi, guys. I've upgraded CakePHP to 3.7.1, and trying to get rid of deprecation warnings. One warning is that Controller::viewVars is deprecated. How can I check which variables have been set in the controller without it?
# Jan 5th 2019, 02:03 lpj145 i tried this, but, if date of register is a 2018-11-30 21:00 this is not selected.
# Jan 5th 2019, 02:02 lpj145 hi guys, need help you.. how i can select between datetime on cakephp ?
# Jan 4th 2019, 22:19 phantomwatson I've added an issue for that TimeHelper bug: https://github.com/cakephp/cakephp/issues/12872
# Jan 4th 2019, 21:45 ricksaccous i think i'll move on
# Jan 4th 2019, 21:45 ricksaccous anwyay this is an edge case
# Jan 4th 2019, 21:45 ricksaccous it won't be allowed to be hydrated
# Jan 4th 2019, 21:45 ricksaccous because if the entity field itself within the other entity has an error
# Jan 4th 2019, 21:44 ricksaccous so it can't place errors on them anyway
# Jan 4th 2019, 21:44 ricksaccous i think without validating the parent it won't hydrate the hasMany as entities
# Jan 4th 2019, 21:44 ricksaccous hmph that still didn't put an error on the child array in the entity
# Jan 4th 2019, 21:43 phantomwatson Then all rules will be checked
# Jan 4th 2019, 21:42 phantomwatson Don't mark the rule as `'last' => true`.
# Jan 4th 2019, 21:42 ricksaccous hwo do you prevent execution from being stopped
# Jan 4th 2019, 21:42 ricksaccous i don't understand your question
# Jan 4th 2019, 21:42 phantomwatson Or how to prevent it from being validated?
# Jan 4th 2019, 21:42 ricksaccous nooooo
# Jan 4th 2019, 21:42 phantomwatson You're asking how you validate your entity?
# Jan 4th 2019, 21:42 ricksaccous oh
# Jan 4th 2019, 21:41 ricksaccous is that what you meant?
# Jan 4th 2019, 21:41 ricksaccous on entity