# |
Jul 16th 2019, 00:05 |
yamcomnet |
i think that this is again the same problem. Just cannot figure out how paths are different this time |
# |
Jul 16th 2019, 00:04 |
yamcomnet |
yep |
# |
Jul 16th 2019, 00:04 |
challgren |
Did you `composer install`? |
# |
Jul 16th 2019, 00:04 |
slackebot |
<yamcomnet> |
# |
Jul 16th 2019, 00:03 |
slackebot |
<yamcomnet> |
# |
Jul 16th 2019, 00:02 |
yamcomnet |
i will do that. Just after i have figured out next problem. Moving to another server and when loading that same plugin i get |
# |
Jul 15th 2019, 22:44 |
challgren |
File a issue in the git repo for that |
# |
Jul 15th 2019, 22:06 |
yamcomnet |
for some reason moveUp/moveDown are inverted but it does not matter. |
# |
Jul 15th 2019, 22:05 |
yamcomnet |
got it working. Thanks guys!! |
# |
Jul 15th 2019, 21:31 |
yamcomnet |
whoever is behing this wicked plugin system is no more sane than me |
# |
Jul 15th 2019, 21:30 |
yamcomnet |
thanks @ndm |
# |
Jul 15th 2019, 21:30 |
yamcomnet |
how the hell should one know this stuff ?? *ucked up stuff :) |
# |
Jul 15th 2019, 21:29 |
ndm |
`Sequence` behavior of the `ADmad/Sequence` plugin |
# |
Jul 15th 2019, 21:29 |
ndm |
`ADmad/Sequence.Sequence` |
# |
Jul 15th 2019, 21:29 |
yamcomnet |
how should that be in relation to $this->addPlugin('ADmad/Sequence'); |
# |
Jul 15th 2019, 21:28 |
yamcomnet |
$this->addBehavior('ADmad/Sequence', [ ... |
# |
Jul 15th 2019, 21:25 |
yamcomnet |
my god, this plugin business.. Missing Behavior |
# |
Jul 15th 2019, 21:18 |
yamcomnet |
got it! |
# |
Jul 15th 2019, 21:18 |
ndm |
The plugin's name is `ADmad/Sequence`, not `Admad/sequence`. |
# |
Jul 15th 2019, 21:17 |
ndm |
`Plugin::load()` will invoke the very same method that throws the exception that you've shown. If you're passing the same (incorrect) name, you should get the same exception, unless you're passing a custom `path`. |
# |
Jul 15th 2019, 21:15 |
yamcomnet |
actually it does not even work "the old way" -> Unknown method "moveUp" |
# |
Jul 15th 2019, 21:10 |
yamcomnet |
@ndm for some reason it only loads the plugin old way. I dont know whats the difference under the hood? |
# |
Jul 15th 2019, 21:07 |
yamcomnet |
let me look does it even work :) |
# |
Jul 15th 2019, 21:07 |
yamcomnet |
old way => nasty deprecation error |
# |
Jul 15th 2019, 21:05 |
yamcomnet |
let me try the old way? |
# |
Jul 15th 2019, 21:05 |
ndm |
Plugin names are case sensitive |
# |
Jul 15th 2019, 21:04 |
ricksaccous |
or you could submit a PR to the plugin, lol |
# |
Jul 15th 2019, 21:03 |
ricksaccous |
you'll get deprecated warning's though |
# |
Jul 15th 2019, 21:03 |
ricksaccous |
you could resort to loading it the old way in bootstrap.php |
# |
Jul 15th 2019, 21:03 |
ricksaccous |
egh nevermind |
# |
Jul 15th 2019, 21:02 |
ricksaccous |
try |
# |
Jul 15th 2019, 21:01 |
yamcomnet |
pretty sure its broken |
# |
Jul 15th 2019, 21:00 |
ricksaccous |
but not sure |
# |
Jul 15th 2019, 21:00 |
ricksaccous |
i think the plugin might need to be updated to be compatible with the latest version of cake |
# |
Jul 15th 2019, 20:59 |
yamcomnet |
i was not joking around. Step by step |
# |
Jul 15th 2019, 20:59 |
yamcomnet |
thats what i did |
# |
Jul 15th 2019, 20:57 |
ricksaccous |
strange |
# |
Jul 15th 2019, 20:57 |
ricksaccous |
you were just following the docs |
# |
Jul 15th 2019, 20:57 |
ricksaccous |
oh wait lmao |
# |
Jul 15th 2019, 20:57 |
ricksaccous |
but probably $this->addPlugin('Sequence'); will just work |
# |
Jul 15th 2019, 20:56 |
ricksaccous |
you should learn about namespacing |