beyondcode / beyondcode/invoker-community

Can not make Trend Widget for Eloquent Model

Open
#361 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Invoker Windows/MacOS Desktop App: Can not make Trend Widget for Eloquent Model .
------
**OS**: win32
**Invoker Version**: 2.13.2
**Laravel Version**: 10.0.0
**PHP Binary**: C:\php\php.exe
**PHP Version**: 8.2.8
**Route**: /dashboard?project=remote-79w9ybvSK6fwRpqWxBFfsL

**Error**:
```
PHP Fatal error: Declaration of _HumbugBox4ff0af112613\Invoker\Metrics\PostgresTrendDateExpression::getValue() must be compatible with Illuminate\Database\Query\Expression::getValue(Illuminate\Database\Grammar $grammar) in phar:///tmp/ploi_10_invoker.phar/src/Metrics/PostgresTrendDateExpression.php on line 7
```

As I think, the problem is in Laravel Update. I have updated laravel version to 10.x and found information about database expressions in official docs:

https://laravel.com/docs/10.x/upgrade#database-expressions

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.