GMB
Web Designs

GMB Web Designs

Client Log In

Close

Welcome to GMB Web Designs

Please input your domain name and password

Concrete5 Update

I have been getting more spam recently so decided to update to the latest Concrete5 build so I could take advantage of the built-in Google Recaptcha3 support.

On update I received and error code and had to reinstall a backup of my site so it took a lot longer than normal. I was recieving an error when the website tried to automatically update the database and hopefully by posting how I fixed it this will save some other people some time.

I was recieving an "Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it." error. It turned out that the fix was easier than I thought as this is an error which has been around for a few years and has been acknowledged by Doctrine but has never been fixed.

In order to rectify this error just add

Database::getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');

to your app.php file in your applications/bootstrap folder prior to doing your upgrade

Loading Conversation