# |
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 |
# |
Jan 8th 2020, 00:05 |
MrEm |
Sure 1s |
# |
Jan 8th 2020, 00:05 |
savant |
can you post your composer.json in github? |
# |
Jan 8th 2020, 00:04 |
savant |
it should be in the `vendor` folder |
# |
Jan 8th 2020, 00:04 |
MrEm |
Any help would be awesome! |
# |
Jan 7th 2020, 23:58 |
MrEm |
Same error for both |
# |
Jan 7th 2020, 23:58 |
MrEm |
The command I'm trying to execute is one of two: "php bin/cake.php plugin load migrations" or "php bin/cake.php bake migration_snapshot Initial" |