Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't work with php 7.4 please update #18

Closed
summercms opened this issue Nov 30, 2019 · 0 comments
Closed

Plugin doesn't work with php 7.4 please update #18

summercms opened this issue Nov 30, 2019 · 0 comments

Comments

@summercms
Copy link

summercms commented Nov 30, 2019

When running php 7.4 and pressing the Clear button in the dashboard widget I see the following message:

Trying to access array offset on value of type int

See screenshot:

image

Stack Trace:

ErrorException: Trying to access array offset on value of type int in /home/example/public_html/vendor/symfony/console/Input/ArrayInput.php:135

Stack trace:

#0 /home/example/public_html/vendor/symfony/console/Input/ArrayInput.php(135): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to acces...', '/home/example/...', 135, Array)
#1 /home/example/public_html/vendor/symfony/console/Input/Input.php(63): Symfony\Component\Console\Input\ArrayInput->parse()
#2 /home/example/public_html/vendor/symfony/console/Command/Command.php(222): Symfony\Component\Console\Input\Input->bind(Object(Symfony\Component\Console\Input\InputDefinition))
#3 /home/example/public_html/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#4 /home/example/public_html/vendor/symfony/console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#5 /home/example/public_html/vendor/symfony/console/Application.php(228): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Cache\Console\ClearCommand), Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#6 /home/example/public_html/vendor/symfony/console/Application.php(130): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#7 /home/example/public_html/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#8 /home/example/public_html/vendor/laravel/framework/src/Illuminate/Console/Application.php(177): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))
#9 /home/example/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(249): Illuminate\Console\Application->call('cache:clear', Object(October\Rain\Support\Collection), NULL)
#10 /home/example/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\Foundation\Console\Kernel->call('cache:clear')
#11 /home/example/public_html/plugins/romanov/clearcachewidget/reportwidgets/ClearCache.php(66): Illuminate\Support\Facades\Facade::__callStatic('call', Array)
#12 [internal function]: Romanov\ClearCacheWidget\ReportWidgets\ClearCache->onClear()
  • I think this error is coming from October CMS side and not your plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant