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

Fatal error: Cannot use lexical variable $eventName (guzzle) #2

Open
ValeryCC opened this issue Jul 10, 2020 · 0 comments
Open

Fatal error: Cannot use lexical variable $eventName (guzzle) #2

ValeryCC opened this issue Jul 10, 2020 · 0 comments

Comments

@ValeryCC
Copy link

When running the script, I get the following error message:

Fatal error: Cannot use lexical variable $eventName as a parameter name in /home/xxx/OmekaApiToCsv-master/vendor/guzzlehttp/guzzle/src/Event/Emitter.php on line 49

We're using Omeka 2.7.1, PHP 7.0.33.

Doing a bit of research online, it seems that guzzle needs to be updated. The version of guzzle installed doesn't seem to be compatible with PHP 7.
https://stackoverflow.com/questions/54609760/php-fatal-error-cannot-use-lexical-variable-eventname-as-a-parameter-name-in
googleapis/google-api-php-client#1068
https://www.bountysource.com/issues/42758749-php7-1-guzzle-error-cannot-use-lexical-variable-eventname-as-a-parameter-name

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

1 participant