Replies: 2 comments 25 replies
-
Do you have the |
Beta Was this translation helpful? Give feedback.
-
It's been a while since I've worked with Craft, but again; this website worked fine before just as is. The only thing changed is that Craft was updated once in a while to new minor versions. And after that there never was any issue on the production server, still now there still isn't there. The problems now are only on the dev server.
Yes, that's exactly how it was built and worked all this time.
Also this I've already done long time ago, but for the sake of testing I did it once again. Didn't change anything to the composer.lock file, which shows it was already done.
Yeah it would be expected that functions don't act like things worked great if in reality they couldn't even find the handle. Anyway, it's still not working and stilll weird things are happening. The plugins are installed fine with composer. No issue there and if composer says things were successful they were succesful, which also is proven by the fact that it didn't change anything to the lock file I would say. When running a list to show the plugins' handles they are in the list just fine. (craft plugin/list). They show atm that they are not installed and not enabled. Which, again, is also not in sync with the project.yaml that says they ARE installed. When running the command to enable them Craft complains that it doesn't recognise the handle, which makes no sense, because I use the right handle, which is proven by the fact that they show exactly like that in the plugins list. "Failed to install plugin-handle: No plugin exists with the handle "plugin-handle" " There is the issue. |
Beta Was this translation helpful? Give feedback.
-
Hi,
When enabling a plugin that didn't change, but is running locally on another system now, it is not enabling in the cms settings when hitting 'enable'.
When running craft plugin/enable interactively and chosing these plugins the command says 'enabled {plugin} successfully', but when running the craft plugin/enable command again it's still in the list of disabled plugins and it's also still disabled according to the cms.
It's not giving any clue on what might be wrong and the plugin was working fine before and didn't change since. Only craft has been updated once in a while and the project was moved to another system.
I already checked if there was an issue with usages of casing in the classes of my plugins, but everything seems okay. Which doesn't surprise me as these were working fine for years in many Craft versions and still are to this date on the servers these are running on publicly.
I also ran the composer dump-autoload again, whithout any issue.
It would be nice to have some form of clue on where to look. So any advise would be welcome.
Currently using craft 3.9.10, but it has been like this for a while now, also with previous versions.
Any tips on where to look?
Beta Was this translation helpful? Give feedback.
All reactions