The issue
hi Folk
I used softalicious in cPanel to install flarum in stroke.logicalmodel.net/flarum a few days ago
all good!
I used flarumโ extension manager to install Progressive Wed App and it (seems) to have broken the app looking at the log at logicalmodel.net/stroke/flarum/storage/logs/flarum-2024-11-19.log
flarum now says "Flarum encountered a boot error. Details have been logged to the Flarum log file."
I THINK the fix is โcomposer remove askvortsov/flarum-pwaโ
But I cant see any way to run it short of putting a entry into crontab with cPanel (or o/write with ftp!!!
Flarum information
there are several separate error instances
1 runs to70 lines here are #3 but seems irrelevant to me...
[2024-11-19 15:20:10] flarum.ERROR: ParseError: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /home/logicalm/stroke/flarum/vendor/fof/byobu/src/Discussion/Screener.php:111
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/logicalm/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('FoF\\Byobu\\Discu...')
#2 [internal function]: spl_autoload_call('FoF\\Byobu\\Discu...')
#3 /home/logicalm/stroke/flarum/vendor/illuminate/container/Container.php(877): ReflectionClass->__construct('FoF\\Byobu\\Discu...')
and then - which looks very relevant...
[2024-11-19 18:46:57] flarum.ERROR: ParseError: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in /home/logicalm/stroke/flarum/vendor/askvortsov/flarum-pwa/src/FlarumPWAServiceProvider.php:36
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/logicalm/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Askvortsov\\Flar...')
#2 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(228): spl_autoload_call('Askvortsov\\Flar...')
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(181): Flarum\Foundation\Application->resolveProviderClass('Askvortsov\\Flar...')
#4 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extend/ServiceProvider.php(41): Flarum\Foundation\Application->register('Askvortsov\\Flar...')
#5 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/Extension.php(141): Flarum\Extend\ServiceProvider->extend(Object(Illuminate\Container\Container), Object(Flarum\Extension\Extension))
#6 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionManager.php(390): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#7 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#8 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#9 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#10 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks(Array)
#11 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#12 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#13 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#14 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#15 /home/logicalm/stroke/flarum/public/index.php(26): Flarum\Http\Server->listen()
#16 {main}
Next Flarum\Extension\Exception\ExtensionBootError: Experienced an error while booting extension: Progressive Web App.
Error occurred while applying an extender of type: Flarum\Extend\ServiceProvider. in /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/Extension.php:143
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionManager.php(390): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#1 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#2 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#4 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks(Array)
#5 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#6 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#7 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#8 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#9 /home/logicalm/stroke/flarum/public/index.php(26): Flarum\Http\Server->listen()
#10 {main}
[2024-11-19 18:47:03] flarum.ERROR: ParseError: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in /home/logicalm/stroke/flarum/vendor/askvortsov/flarum-pwa/src/FlarumPWAServiceProvider.php:36
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/logicalm/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Askvortsov\\Flar...')
#2 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(228): spl_autoload_call('Askvortsov\\Flar...')
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(181): Flarum\Foundation\Application->resolveProviderClass('Askvortsov\\Flar...')
#4 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extend/ServiceProvider.php(41): Flarum\Foundation\Application->register('Askvortsov\\Flar...')
#5 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/Extension.php(141): Flarum\Extend\ServiceProvider->extend(Object(Illuminate\Container\Container), Object(Flarum\Extension\Extension))
#6 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionManager.php(390): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#7 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#8 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#9 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#10 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks(Array)
#11 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#12 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#13 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#14 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#15 /home/logicalm/stroke/flarum/public/index.php(26): Flarum\Http\Server->listen()
#16 {main}
Next Flarum\Extension\Exception\ExtensionBootError: Experienced an error while booting extension: Progressive Web App.
Error occurred while applying an extender of type: Flarum\Extend\ServiceProvider. in /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/Extension.php:143
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionManager.php(390): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#1 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#2 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#4 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks(Array)
#5 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#6 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#7 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#8 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#9 /home/logicalm/stroke/flarum/public/index.php(26): Flarum\Http\Server->listen()
#10 {main}
[2024-11-19 18:47:06] flarum.ERROR: ParseError: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in /home/logicalm/stroke/flarum/vendor/askvortsov/flarum-pwa/src/FlarumPWAServiceProvider.php:36
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/logicalm/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Askvortsov\\Flar...')
#2 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(228): spl_autoload_call('Askvortsov\\Flar...')
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(181): Flarum\Foundation\Application->resolveProviderClass('Askvortsov\\Flar...')
#4 /home/l
[2024-11-19 19:52:01] flarum.ERROR: ParseError: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in /home/logicalm/stroke/flarum/vendor/askvortsov/flarum-pwa/src/FlarumPWAServiceProvider.php:36
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/logicalm/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Askvortsov\\Flar...')
#2 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(228): spl_autoload_call('Askvortsov\\Flar...')
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(181): Flarum\Foundation\Application->resolveProviderClass('Askvortsov\\Flar...')
#4 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extend/ServiceProvider.php(41): Flarum\Foundation\Application->register('Askvortsov\\Flar...')
#5 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/Extension.php(141): Flarum\Extend\ServiceProvider->extend(Object(Illuminate\Container\Container), Object(Flarum\Extension\Extension))
#6 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionManager.php(390): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#7 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#8 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#9 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#10 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks(Array)
#11 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#12 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#13 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#14 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#15 /home/logicalm/stroke/flarum/public/index.php(26): Flarum\Http\Server->listen()
#16 {main}
Next Flarum\Extension\Exception\ExtensionBootError: Experienced an error while booting extension: Progressive Web App.
Error occurred while applying an extender of type: Flarum\Extend\ServiceProvider. in /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/Extension.php:143
Stack trace:
#0 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionManager.php(390): Flarum\Extension\Extension->extend(Object(Illuminate\Container\Container))
#1 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Flarum\Extension\ExtensionManager->extend(Object(Illuminate\Container\Container))
#2 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}(Object(Flarum\Foundation\Application))
#3 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func(Object(Closure), Object(Flarum\Foundation\Application))
#4 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks(Array)
#5 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#6 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#7 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#8 /home/logicalm/stroke/flarum/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#9 /home/logicalm/stroke/flarum/public/index.php(26): Flarum\Http\Server->listen()
#10 {main}