I've upgraded flarum lately to beta 1.0.2 and most extensions which I had installed previously caused errors e.g. Discussions view. They said they had already been installed etc. while they didn't appear in my admin panel. All the extensions I had before upgrading now give me problems. Anyone who knows why?
Why man extensions crush my website
KuneneSandziso NB: I upgraded locally then uploaded my files (Since I'm on shared hosting)
What is the output of php flarum info?
`Experienced` an error while booting extension: Discussion views. Error occurred while applying an extender of type: Closure.
thrown in /home/xstraac1/domains/xstraa.com/public_html/vendor/flarum/core/src/Extension/Extension.php on line 142
Did you delete the vendor
folder before uploading the new version?
You probably still have older incompatible extensions installed. Composer usually wouldn't let you keep them, but if you manually copy-pasted the files you might still have old files left behind.
clarkwinkelmann I copy/pasted the files
how do I solve this?
does the website work on the host where Composer was executed?
If it works on that host but not on the public hosting, then you should try transferring the files again and make sure no old files stay left over.
If it doesn't work locally either, you should try re-installing all Composer dependencies by deleting vendor
and running composer install
again.
If there's an issue with composer install
, you might need to delete the lock file to make sure you are fully upgrading.
clarkwinkelmann ok thanks