Guys I need help! Today I updated Flarum and now I am getting the following:
[13-Sep-2018 16:33:15 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Zurtr\OneSignal\OneSignalAPI::__construct(), 1 passed in /home/compboar/public_html/milliforum/vendor/zurtr/flarum-ext-onesignal/src/Listener/SendWebPushNotification.php on line 21 and exactly 2 expected in /home/compboar/public_html/milliforum/vendor/zurtr/flarum-ext-onesignal/src/OneSignalAPI.php:9
Stack trace:
#0 /home/compboar/public_html/milliforum/vendor/zurtr/flarum-ext-onesignal/src/Listener/SendWebPushNotification.php(21): Zurtr\OneSignal\OneSignalAPI->__construct('2c92f7c5-0351-4...')
#1 [internal function]: Zurtr\OneSignal\Listener\SendWebPushNotification->__construct(Object(Flarum\Settings\MemoryCacheSettingsRepository), Object(Flarum\Foundation\Application))
#2 /home/compboar/public_html/milliforum/vendor/illuminate/container/Container.php(780): ReflectionClass->newInstanceArgs(Array)
#3 /home/compboar/public_html/milliforum/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build('Zurtr\\OneSignal...', Array) in /home/compboar/public_html/milliforum/vendor/zurtr/flarum-ext-onesignal/src/OneSignalAPI.php on line 9