You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The aforementioned method should execute without any errors.
Current behavior
After upgrading to PHP 7.4 (7.3 worked fine), the getTransactionsByYearMonth method in TransactionRepository results in an error.
As far as I'm concerned, this is obvious (since we're trying to access an item inside an array, for a variable that is not an array), but it never gave any issues in prior versions of PHP 🤷
Steps to reproduce
Make sure you're running PHP 7.4
Navigate to the transactions overview in the navigation bar
Voila, there's your error
[2020-05-17 14:27:31] local.ERROR: Trying to access array offset on value of type null {"userId":1,"exception":"[object] (ErrorException(code: 0): Trying to access array offset on value of type null at /Users/daniel/Code/budget/app/Repositories/TransactionRepository.php:35)
The text was updated successfully, but these errors were encountered:
Expected behavior
The aforementioned method should execute without any errors.
Current behavior
After upgrading to PHP 7.4 (7.3 worked fine), the
getTransactionsByYearMonth
method inTransactionRepository
results in an error.As far as I'm concerned, this is obvious (since we're trying to access an item inside an array, for a variable that is not an array), but it never gave any issues in prior versions of PHP 🤷
Steps to reproduce
The text was updated successfully, but these errors were encountered: