Log message #4223797

# At Username Text
# Jan 24th 2020, 19:49 challgren You can do a PR
# Jan 24th 2020, 19:37 luizcmarin @challgren I find other differences between what is on the website and cake 4. How can I report this? Should I report? for example, on the website it says "$ this-> table ('sti_cooks');" but in cake4 it should be "$ this-> setTable ('sti_cooks');", do you agree? There is no way to suggest the changes I encounter.
# Jan 24th 2020, 19:27 luizcmarin @challgren Everything is OK. Let's work ..... thanks
# Jan 24th 2020, 19:25 luizcmarin :hugging_face:
# Jan 24th 2020, 19:25 slackebot <luizcmarin>
# Jan 24th 2020, 19:23 challgren sorry drop the use part
# Jan 24th 2020, 19:22 luizcmarin [InvalidArgumentException] Could not find a matching version of package usemuffin/sti. Check the package spelling, your version cons traint and that the package is available in a stability which matches your minimum-stability (dev).
# Jan 24th 2020, 19:21 challgren maybe try `composer require usemuffin/sti:2.0.0-beta`
# Jan 24th 2020, 19:21 luizcmarin I run cake 4.0.2
# Jan 24th 2020, 19:20 challgren oh that should be fine. But if its install 1.0.0 it seems you’re running cake 3.x
# Jan 24th 2020, 19:20 luizcmarin change to beta?
# Jan 24th 2020, 19:20 luizcmarin I have "minimum-stability": "dev".
# Jan 24th 2020, 19:19 challgren yes in the root
# Jan 24th 2020, 19:19 luizcmarin Hello @challgren. I thought I was off ... should I add that to composer.json?
# Jan 24th 2020, 19:17 challgren @luizcmarin you probably need `"minimum-stability": "beta"` in your composer.json https://getcomposer.org/doc/04-schema.md#minimum-stability
# Jan 24th 2020, 19:09 luizcmarin OK. Does anybody know how to solve this? https://cakesf.slack.com/archives/C053DPNGT/p1579880879178400
# Jan 24th 2020, 16:50 kiwi_10 a user can update the doc for me please ? I don't have a Github account
# Jan 24th 2020, 16:50 kiwi_10 The new function to use for mimetypes definitions is setTypeMap : https://api.cakephp.org/3.6/class-Cake.Http.Response.html#_setTypeMap
# Jan 24th 2020, 16:49 kiwi_10 use an array as param don't work
# Jan 24th 2020, 16:49 kiwi_10 and the good answer is the one of the API
# Jan 24th 2020, 16:49 kiwi_10 but, in the API, I need to use a string as param for this same function : https://api.cakephp.org/3.6/class-Cake.Http.Response.html#_withType
# Jan 24th 2020, 16:48 kiwi_10 the doc tell us to use an array for mimetypes definitions
# Jan 24th 2020, 16:48 kiwi_10 there is an error in the CakePHP doc : https://book.cakephp.org/3/fr/controllers/request-response.html#Cake\Http\Response::withType
# Jan 24th 2020, 15:47 luizcmarin @challgren @admad https://github.com/UseMuffin/Sti/issues/8 (starting tests)
# Jan 24th 2020, 14:22 rudy1976s @steinkel thank you Jorge ! I am facing problems using plugin with ADmad i18n , getting redirect loop when using routes with /:lang
# Jan 24th 2020, 12:56 steinkel https://www.cakedc.com/jorge_gonzalez/2020/01/17/users-plugin-9-x-for-cakephp4 this could help
# Jan 24th 2020, 12:55 rudy1976s I am working on implementing CakeDC Users plugin 9.x on a cake 4.0.2 installation. I have also installed admad i18n plugin : I am facing a lot of issues with infinite loops when trying to access login : I have tried to follow docs but it is very difficult because some time docs refers to last version while some other to 3.x: anyone here use UsersPlugin ?
# Jan 24th 2020, 12:51 rudy1976s good afternoon!
# Jan 24th 2020, 12:04 neon1024 Opened an issue :point_right: https://github.com/riesenia/cakephp-duplicatable/issues/44
# Jan 24th 2020, 11:48 neon1024 For conditionally empty associated fields
# Jan 24th 2020, 11:47 neon1024 Anyone know if duplicatable takes a callback in the ‘remove’ config option?
# Jan 24th 2020, 10:10 neon1024 I wonder if it’s easier to hook into the behaviours existing methods, as it must have to do this calculation
# Jan 24th 2020, 10:09 neon1024 :thinking_face: I was so sure there was already a method. Perhaps I’m thinking of the Tree Behaviour
# Jan 24th 2020, 10:07 challgren That gist may need some cleanup but it should work for yah. I honestly havent used it in a year or so
# Jan 24th 2020, 10:06 alexdd55976 Is there any way to catch the error log writing process and trigger something with that information
# Jan 24th 2020, 10:05 challgren https://gist.github.com/challgren/fbe500197d09f584a0fbc2aac710d3b6
# Jan 24th 2020, 10:04 neon1024 Duplicatable has a 4 branch, TIL
# Jan 24th 2020, 10:04 neon1024 @challgren Countercache, I’m running 3.8
# Jan 24th 2020, 10:04 alexdd55976 Morning
# Jan 24th 2020, 10:04 challgren no for counter cache
# Jan 24th 2020, 10:04 neon1024 I’m not aware that the duplicatable behaviour supports 4