syntax error, unexpected '|', expecting variable (T_VARIABLE) #422
Unanswered
Andrey1906
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
When I was starting console command with analytics, I got this error.
This line in command $analyticsData = Analytics::performQuery(Period::days(20), 'ga:uniquePageviews', ['dimensions'=>'ga:pagePath','sort'=>'-ga:uniquePageviews']);
Error in /api/vendor/psr/cache/src/CacheItemInterface.php:104
public function expiresAfter(int|\DateInterval|null $time);
Laravel v.6.18.*
"spatie/laravel-analytics": "3.8.0"
php v 7.2.0
Beta Was this translation helpful? Give feedback.
All reactions