# |
Mar 27th 2019, 15:11 |
cnizzardini |
Uncaught Error: Class 'Cake\Routing\Router' not found in vendor/cakephp/cakephp/config/bootstrap.php:22 |
# |
Mar 27th 2019, 15:11 |
cnizzardini |
issue is when i remove `require ROOT . DS . 'vendor' . DS . 'autoload.php';` from bootstrap I then get hit with this: |
# |
Mar 27th 2019, 15:10 |
dereuromark |
but from 3.5 to 3.6+ all should already work fine |
# |
Mar 27th 2019, 15:09 |
dereuromark |
in composer.json, see core app |
# |
Mar 27th 2019, 15:09 |
cnizzardini |
where is autoload supposed to be, i didn't see it in the skeleton bootstrap, so I added it in |
# |
Mar 27th 2019, 15:08 |
cnizzardini |
this makes sense actually |
# |
Mar 27th 2019, 15:08 |
dereuromark |
composer dumpautoload after checking the psr4 is set up correctly |
# |
Mar 27th 2019, 15:07 |
dereuromark |
your composer autoload is maybe wrong or sth |
# |
Mar 27th 2019, 15:05 |
cnizzardini |
Seems its looking in the wrong place for Application, which should be (and is for me) in the App namespace |
# |
Mar 27th 2019, 15:04 |
cnizzardini |
Eesh any ideas on this one when upgrading to cake 3.7 "[Error] Class 'App\View\Application' not found #0 /var/www/asrlodging/rootrez/vendor/cakephp/cakephp/src/View/View.php(374)" |
# |
Mar 27th 2019, 14:39 |
cnizzardini |
seemed to work better when not using "all" |
# |
Mar 27th 2019, 14:36 |
cnizzardini |
unfortunately bin/cake upgrade all /var/www/myproject does not work |
# |
Mar 27th 2019, 14:13 |
dereuromark |
read it and use the useful things for you. |
# |
Mar 27th 2019, 14:13 |
cnizzardini |
haha i ask because its linked to from README |
# |
Mar 27th 2019, 14:12 |
dereuromark |
Well, I did a year ago :) |
# |
Mar 27th 2019, 14:11 |
cnizzardini |
Do you recommend this as well: https://www.dereuromark.de/2018/03/14/cakephp-3-6-is-coming/ |
# |
Mar 27th 2019, 14:09 |
cnizzardini |
so there is lots of weird stuff in there i think |
# |
Mar 27th 2019, 14:09 |
cnizzardini |
plus this thing started with cake 3.0 |
# |
Mar 27th 2019, 14:08 |
cnizzardini |
not fun |
# |
Mar 27th 2019, 14:08 |
cnizzardini |
i was trying to piece together all the changes from the application template |
# |
Mar 27th 2019, 14:08 |
cnizzardini |
thanks |
# |
Mar 27th 2019, 13:57 |
dereuromark |
Tip: use https://github.com/dereuromark/upgrade skeleton task with -f after git commit and check diff :slightly_smiling_face: Quickest way of a real minor update. |
# |
Mar 27th 2019, 13:20 |
cnizzardini |
Eh, nevermind, looking through https://github.com/cakephp/app/blob/master/config/bootstrap.php there have been some changes to how bootstrap is done |
# |
Mar 27th 2019, 13:16 |
cnizzardini |
_cake_core_ definitely exists in app.php under the Cache configs |
# |
Mar 27th 2019, 13:15 |
cnizzardini |
Warning (2): Illegal offset type in isset or empty [CORE/src/Core/StaticConfigTrait.php, line 117]The "_cake_core_" cache configuration does not exist. |
# |
Mar 27th 2019, 13:15 |
cnizzardini |
Upgrading from 3.5.17 to 3.6.14 and met with this: |
# |
Mar 27th 2019, 13:07 |
eax |
Hey folks! Can someone tell me how to do a dry-run in Migrations in Cake3? The option says it’s unknown, even though it’s in -h |
# |
Mar 27th 2019, 12:31 |
megan |
passed it onto the team :slightly_smiling_face: will keep you posted! |
# |
Mar 27th 2019, 11:58 |
neon1024 |
Seems to be isolated to the search results page |
# |
Mar 27th 2019, 11:57 |
steinkel |
no prob, we're checking this one, already reported |
# |
Mar 27th 2019, 11:57 |
alexdd55 |
ah |
# |
Mar 27th 2019, 11:57 |
neon1024 |
..and now I’ve refreshed I get the error :thinking_face: |
# |
Mar 27th 2019, 11:56 |
neon1024 |
Saying that the dropdown does work for me also |
# |
Mar 27th 2019, 11:56 |
neon1024 |
Sorry for the @ spam Jorge! ;) |
# |
Mar 27th 2019, 11:55 |
neon1024 |
As for the cookbook, the dropdown doesn’t work but the search does for me |
# |
Mar 27th 2019, 11:55 |
alexdd55 |
ok :slightly_smiling_face: |
# |
Mar 27th 2019, 11:55 |
neon1024 |
Yeah, just curious and worth raising with @steinkel |
# |
Mar 27th 2019, 11:55 |
alexdd55 |
@neon1024 cookbook :point_up: |
# |
Mar 27th 2019, 11:54 |
neon1024 |
I mean, it’s not happy either way, with 69 errors! |
# |
Mar 27th 2019, 11:54 |
alexdd55 |
https://book.cakephp.org/3.0/en/search.html?check_keywords=yesandarea=defaultandq=setprimarykey |
# |
Mar 27th 2019, 11:53 |
alexdd55 |
sorry, cookbook |