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

syntax error, unexpected 'TasksCollection' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) #45

Closed
ojha007 opened this issue Jun 12, 2020 · 5 comments

Comments

@ojha007
Copy link

ojha007 commented Jun 12, 2020

i am getting unexcepted issue from \vendor\spatie\laravel-multitenancy\src\Actions\MakeTenantCurrentAction.php:13

Laravel Framework 7.12.0
PHP 7.4.7

@freekmurze
Copy link
Member

The package doesn't contain a syntax error. You don't have PHP 7.4 to handle your web requests or cli executions.

@ojha007
Copy link
Author

ojha007 commented Jun 12, 2020

PHP 7.4.7 (cli) (built: Jun 9 2020 13:36:15) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

@freekmurze
Copy link
Member

https://freek.dev/1598-how-to-check-which-version-of-php-you-are-running

@ojha007
Copy link
Author

ojha007 commented Jun 12, 2020

i do have php 7.4
demo-11

@freekmurze
Copy link
Member

Did you check both methods mentioned in the blogpost?

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

2 participants