invoker-community
invoker-community copied to clipboard
Adding Trend Widget
OS: darwin Invoker Version: 2.13.2 Laravel Version: 10.43.0 Local project: true PHP Binary: /usr/local/bin/php Route: /dashboard?project=local-2V3jXcJ741qgRF2TqS5X4C
Error:
Symfony\Component\ErrorHandler\Error\FatalError
Declaration of _HumbugBox4ff0af112613\Invoker\Metrics\MySqlTrendDateExpression::getValue() must be compatible with Illuminate\Database\Query\Expression::getValue(Illuminate\Database\Grammar $grammar)
at phar:/Applications/Invoker.app/Contents/Resources/invoker_l10.phar/src/Metrics/MySqlTrendDateExpression.php:7
3▕ namespace _HumbugBox4ff0af112613\Invoker\Metrics;
4▕
5▕ class MySqlTrendDateExpression extends \_HumbugBox4ff0af112613\Invoker\Metrics\TrendDateExpression
6▕ {
➜ 7▕ public function getValue()
8▕ {
9▕ switch ($this->unit) {
10▕ case 'months':
11▕ return "date_format({$this->wrap($this->column)}, '%Y-%m')";
Whoops\Exception\ErrorException
Declaration of _HumbugBox4ff0af112613\Invoker\Metrics\MySqlTrendDateExpression::getValue() must be compatible with Illuminate\Database\Query\Expression::getValue(Illuminate\Database\Grammar $grammar)
at phar:/Applications/Invoker.app/Contents/Resources/invoker_l10.phar/src/Metrics/MySqlTrendDateExpression.php:7
3▕ namespace _HumbugBox4ff0af112613\Invoker\Metrics;
4▕
5▕ class MySqlTrendDateExpression extends \_HumbugBox4ff0af112613\Invoker\Metrics\TrendDateExpression
6▕ {
➜ 7▕ public function getValue()
8▕ {
9▕ switch ($this->unit) {
10▕ case 'months':
11▕ return "date_format({$this->wrap($this->column)}, '%Y-%m')";
[2m+1 vendor frames [22m
2 [internal]:0
Whoops\Run::handleShutdown()