ok I did it from beginning,..
- I removed all the extensions except for flarum default extensions
- Changed all the extensions to
*
in composer.json file except for flarum/core
which I set to ^1.0
- Ran
composer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear
also Ran
./extiverse upgrade
But now I don't get any output from php flarum info
This is how my composer.json require elements looks
"require": {
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "^v1.2.0",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/nicknames": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*"
},
I also found this in error_log
[22-Feb-2022 12:54:21 UTC] PHP Fatal error: Uncaught Error: Class 'Flarum\Extend\Compat' not found in /home/telejapr/example.org/newsroom/extend.php:23
Stack trace:
#0 /home/telejapr/example.org/newsroom/vendor/flarum/core/src/Foundation/Site.php(65): require()
#1 /home/telejapr/example.org/newsroom/vendor/flarum/core/src/Foundation/Site.php(38): Flarum\Foundation\Site::loadExtenders('/home/telejapr/...')
#2 /home/telejapr/example.org/newsroom/site.php(47): Flarum\Foundation\Site::fromPaths(Object(Flarum\Foundation\Paths))
#3 /home/telejapr/example.org/newsroom/flarum(11): require('/home/telejapr/...')
#4 {main}
thrown in /home/telejapr/example.org/newsroom/extend.php on line 23