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

need doctrine/dbal=2.6.3 if 2.7+ error #320

Open
manren opened this issue Jun 22, 2018 · 1 comment
Open

need doctrine/dbal=2.6.3 if 2.7+ error #320

manren opened this issue Jun 22, 2018 · 1 comment

Comments

@manren
Copy link

manren commented Jun 22, 2018

in login error

laravel PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class

need doctrine/dbal=2.6.3 if 2.7+ error

edit composer.json
"doctrine/dbal": "^2.6",
to
"doctrine/dbal": "2.6.*",

@AgusRdz
Copy link
Contributor

AgusRdz commented Sep 6, 2018

In order to reproduce the issue would be great provide a detailed description about where the app is running because this issue can be resolved using different workarounds:

  • Downgrading the doctrine/dbal version as @manren comment above, good catch!
  • Updating PHP version to 7.1 or greater (including PHP-FPM)
  • If PHP was updated could be required check and restart the web server (Apache/Nginx)

I took a look and tested on my end and proposed fix works fine but seems is an isolated issue, if more users reports the same problem then with certainty we should downgrade the dbal version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants