Log message #4221533

# At Username Text
# Jan 8th 2020, 01:59 kurosugunji Can’t use newentity in cakephp4??
# Jan 8th 2020, 01:04 MrEm Well, it gave me a migration, so I'm happy. But I like the idea of reporting a bug. Thank you for your help
# Jan 8th 2020, 01:03 ndm Looks like some kind of conflict, internally the migrations plugin tries to dispatch an old-style shell, and somehow that fails, for reasons. Might be worth reporting as a bug.
# Jan 8th 2020, 00:47 ndm The new error, I remember seeing that one, it had something to do with using the wrong command alias or something... or having to explicitly specify the plugin name as a prefix, I don't remember exactly
# Jan 8th 2020, 00:45 MrEm ah, OK
# Jan 8th 2020, 00:45 ndm I mean stop doing `php bin/cake.php plugin load migrations`, it's not necessary as the plugin load call is already present, and you'd only readd an invalid one
# Jan 8th 2020, 00:44 MrEm Exception: Shell class for "Migrations" could not be found. If you are trying to use a plugin shell, that was loaded via $this->addPlugin(), you may need to update bin/cake.php to match https://github.com/cakephp/app/tree/master/bin/cake.phpIn [/home/ubuntu/dev/vendor/cakephp/cakephp/src/Console/ShellDispatcher.php, line 332]
# Jan 8th 2020, 00:44 MrEm Also, looks like we got closer - new error (after it runs the migration_snapshot:
# Jan 8th 2020, 00:44 MrEm ^ what do you mean?
# Jan 8th 2020, 00:43 ndm Means also you don't need to try loading the plugin again via the console
# Jan 8th 2020, 00:42 MrEm Hmmm... lemme try changing that
# Jan 8th 2020, 00:40 ndm That should be `'Migrations'` I think uppercase `M`
# Jan 8th 2020, 00:40 ndm The bug is coming from inside the house :ghost:
# Jan 8th 2020, 00:39 MrEm https://pastebin.com/Di2A6CDU
# Jan 8th 2020, 00:38 MrEm https://pastebin.com/PiBLyGyn
# Jan 8th 2020, 00:38 savant Can you pastebin your Application.php?
# Jan 8th 2020, 00:37 ndm check the logs
# Jan 8th 2020, 00:37 MrEm There is no stacktrace - only exactly what I pasted
# Jan 8th 2020, 00:36 ndm What's the stacktrace for the error? IIRC the plugin load command doesn't try to load or otherwise validate what you're passing to it, so I'd think that error stems from a possibly wrong plugin loading call in your app, most likely in your `Application.php` file.
# Jan 8th 2020, 00:32 MrEm blasted folder and did install
# Jan 8th 2020, 00:32 MrEm still getting error
# Jan 8th 2020, 00:32 MrEm k.
# Jan 8th 2020, 00:31 savant that should make sure everything is properly installed :)
# Jan 8th 2020, 00:31 savant composer install
# Jan 8th 2020, 00:31 savant and then
# Jan 8th 2020, 00:31 savant rm -rf vendor
# Jan 8th 2020, 00:31 savant okay can you try
# Jan 8th 2020, 00:31 savant hmmm
# Jan 8th 2020, 00:26 MrEm under cakephp/migrations
# Jan 8th 2020, 00:25 MrEm it's there
# Jan 8th 2020, 00:25 MrEm nope
# Jan 8th 2020, 00:25 savant did you move the plugin out of the vendor directory?
# Jan 8th 2020, 00:25 savant hmmm that looks like it should be fine
# Jan 8th 2020, 00:21 MrEm no worries - I appreciate the help
# Jan 8th 2020, 00:17 savant im on a call
# Jan 8th 2020, 00:17 savant sorry one moment
# Jan 8th 2020, 00:13 MrEm Or am I too early on jumping onto Cake 4?
# Jan 8th 2020, 00:13 MrEm I did some outputting inside the method where the exception is being thrown, and it's only looking in the plugins directory. Is there some kind of configuration I need to set up?
# Jan 8th 2020, 00:08 MrEm (didn't mean to double post - was trying to edit)
# Jan 8th 2020, 00:07 MrEm Pastebin ok? https://pastebin.com/tWhziAaB
# Jan 8th 2020, 00:07 MrEm Pastbin ok? https://pastebin.com/tWhziAaB