Hi Tiago,
Was this test instance upgraded from an earlier version? If so, did you remember to run the sql-upgrade task?
It sounds like there could be a database schema migration that was not run for some reason. You could try the following and see if it helps - especially if your site is empty or you don't need to preserve any data. Note that if you DO have data you need to preserve, save it now, and load it again later - the following will destroy any data present!
First we will run the tools:purge command to remove all data. We'll run it with the --demo option so it creates a user account named demo, with the following login credentials:
Note: if you run the command WITHOUT the --demo option, AtoM will prompt you to create a new site title, description, user name, email, and password. Try:
- php symfony tools:purge --demo
Now let's drop and recreate the AtoM database for good measure. The following command assumes your MySQL database user and pass are root, and your database name is atom - please make changes as needed if this is not the case:
- mysql -u root -proot -e 'drop database atom; create database atom character set utf8 collate utf8_unicode_ci;'
If you have saved data, now would be the time to reload it.
Now let's try running the sql-upgrade task. Try:
- php symfony tools:upgrade-sql
You might want to restart services after this, and clear the application cache.
Let us know if it helps!