I've got an error message from my craft (2.6.2990) after adding a German locale:
Resaving all localizable elements: Failed
Resaving matrix blocks: Failed
in the sidebar and here is what I found in craft logs:
2017/09/20 14:52:13 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zg_blike.craft_matrixcontent_files' doesn't exist. The SQL statement executed was: SELECT `elements`.`id`, `elements`.`type`, `elements`.`enabled`, `elements`.`archived`, `elements`.`dateCreated`, `elements`.`dateUpdated`, `elements_i18n`.`slug`, `elements_i18n`.`uri`, `elements_i18n`.`enabled` AS `localeEnabled`, `content`.`id` AS `contentId`, `matrixblocks`.`fieldId`, `matrixblocks`.`ownerId`, `matrixblocks`.`ownerLocale`, `matrixblocks`.`typeId`, `matrixblocks`.`sortOrder`
I checked the DB and of course did not find table called craft_matrixcontent_files
, instead only craft_matrixcontent_file
Any ideas?
searchindex
).craft_fields
table have a row with a "files" that's of type "Matrix"?matrxicontent_file
tomatrixcontent_files
. For sure nobody edited the database, since I'm the only one who worked on it (except I do some things unconsciously). I also found something that can be related: There is an entry with a handlefiles
which belongs toglobal
context and another one with a handlefile
which belongs tomatrixBlockType
. I also tried to delete all the matrix fields from the CP and these strange ones manually. Did not help.