For anyone struggling with this, this is why I saw this error message and how I solved it:
- I worked on the basis of common code (there are so many participants in the work)
- Someone else working on the code added a column without your knowledge.
- You extracted the code, everything worked yesterday, but today you get the error message: "SQLSTATE [42S22]: Column not found: 1054 Unknown column" column-name "in the" list of fields ""
All you have to do is go to your table and add a column (for me it was in phpmyadmin that I did this).
From the error message I received, I could conclude that an additional column, priceing_formula, is needed for the “properties” table. Just paste this column directly into the database.
For reference, this was my error message:
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pricing_formula' in 'field list' (SQL: select 'site'.'name', 'domain', 'site'.'uuid', 'pricing_formula', 'client'.'uuid' as 'clientRef' from 'site' inner join 'client' on 'site'.'client_id' = 'client'.'id' where 'client_id' = 1 and 'site'.'deleted_at' is null)"
Hope this helps someone. If someone still does not know how to solve this problem, but thinks that my explanation describes their problem, contact me - I will try to help you solve it.
Also for information, it was a Laravel backend project with a corner interface.
source share