Log message #4218810

# At Username Text
# Dec 16th 2019, 08:21 challgren It shouldn't be trying to load a model unless your interacting with it like $this-frontend-query
# Dec 16th 2019, 08:10 damiano @challgren sounds too strange my solution? i mean, is it mandatory that a specific controller has an associated table too ?
# Dec 16th 2019, 07:59 challgren https://api.cakephp.org/3.8/class-Cake.Datasource.ModelAwareTrait.html#_setModelType
# Dec 16th 2019, 07:58 challgren https://api.cakephp.org/3.8/class-Cake.Datasource.ModelAwareTrait.html#$modelClass
# Dec 16th 2019, 07:56 challgren I think $this->model = backends but I'm mobile so trying to think off the top of my head
# Dec 16th 2019, 07:54 damiano hello everybody, how can i disable auto-tables in controller? i have created two controllers, FrontendController and BackendController, but cakephp is looking for "frontends" table, can i disable this lookup?
# Dec 16th 2019, 07:54 challgren @conehead bake 2.0.0 should be compatible
# Dec 16th 2019, 07:45 conehead Yes, good job to all hard working people out there
# Dec 16th 2019, 07:40 javier.villanueva congrats for 4.0.0
# Dec 16th 2019, 06:50 conehead Cannot upgrade: ```php composer.phar require --update-with-dependencies "cakephp/cakephp:4.0.*"``` Results in ``` - cakephp/bake 1.12.0 requires cakephp/cakephp ^3.8.0 -> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.x-dev] but these conflict with your requirements or minimum-stability.```
# Dec 16th 2019, 04:34 challgren CakePHP 4.0.0 is out! https://github.com/cakephp/cakephp/releases/tag/4.0.0
# Dec 16th 2019, 00:06 jh gnite
# Dec 16th 2019, 00:06 jh you can use array_values to force a rebuild of numerical indexes
# Dec 16th 2019, 00:06 jh if you tinker with the numerical indexes in php arrays the latter will need to be done
# Dec 16th 2019, 00:05 jh cause then u can either have ["foo", "bar"] or {"0": "foo, "1": "bar"}
# Dec 16th 2019, 00:05 jh and the mixed data type can be confusing when converting to json
# Dec 16th 2019, 00:04 jh php arrays can be numerical or hash based
# Dec 16th 2019, 00:04 jh there is only one thing that doesnt work so well afaik
# Dec 15th 2019, 17:33 noel turns out it's just good 'ol `json_decode` making a mess of things. JSON doesn't work so well with PHP.
# Dec 15th 2019, 15:34 inoas_ gut: JsonDataType, Entity
# Dec 15th 2019, 15:27 noel Does anyone know what might be causing JSON objects to be converted to arrays before saving JSON data types?
# Dec 15th 2019, 07:47 noel Morning all
# Dec 15th 2019, 00:38 luizcmarin ops... # 14021, # 14022, # 14023 .... it's novel..
# Dec 14th 2019, 23:13 luizcmarin I put the problem in issues. # 14022
# Dec 14th 2019, 19:27 slackebot <luizcmarin>
# Dec 14th 2019, 19:25 luizcmarin need help solving these two items just
# Dec 14th 2019, 19:24 luizcmarin I learned that I should not change the content of 'vendor'. So how to solve it?
# Dec 14th 2019, 19:13 luizcmarin The first error are deprecated messages. I don't want to disable them. I want to solve them.
# Dec 14th 2019, 19:13 luizcmarin pardon.
# Dec 14th 2019, 19:13 luizcmarin o primeiro erro são de mensagens deprecated. Não quero desabilita-las. Quero resolve-las.
# Dec 14th 2019, 19:10 luizcmarin @admad @sean.kelly I appreciate your help. I understood how to solve this kind of problem. But there are two I can't. See this picture:
# Dec 14th 2019, 18:08 luizcmarin thanks you
# Dec 14th 2019, 17:10 sean.kelly Hi @luizcmarin: change `public function middleware($middlewareQueue)` to `public function middleware(MiddlewareQueue $middlewareQueue`. ;)
# Dec 14th 2019, 14:27 admad https://github.com/cakephp/app/blob/4.x/src/Application.php#L66
# Dec 14th 2019, 14:25 luizcmarin @admad I tried to understand what to do .... but....
# Dec 14th 2019, 14:22 admad add the typehints as expected
# Dec 14th 2019, 14:21 admad error message already contains the solution to the problem
# Dec 14th 2019, 14:20 luizcmarin and now?
# Dec 14th 2019, 14:19 luizcmarin */     public function middleware($middlewareQueue)     {         $middlewareQueue             // Catch any exceptions in the lower layers,             // and make an error page/response             ->add(new ErrorHandlerMiddleware(null, Configure::read('Error')))
# Dec 14th 2019, 14:19 luizcmarin in my file:
# Dec 14th 2019, 14:19 luizcmarin Fatal error: Declaration of App\Application::middleware($middlewareQueue) must be compatible with Cake\Http\BaseApplication::middleware(Cake\Http\MiddlewareQueue $middleware): Cake\Http\MiddlewareQueue in C:\marin\www\ola\src\Application.php on line 63