laravel-gitscrum icon indicating copy to clipboard operation
laravel-gitscrum copied to clipboard

need doctrine/dbal=2.6.3 if 2.7+ error

Open manren opened this issue 6 years ago • 1 comments

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.*",

manren avatar Jun 22 '18 08:06 manren

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

AgusRdz avatar Sep 06 '18 07:09 AgusRdz