The error refers to line 642 in dtabase.phpPHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Table './XXXXXXX/tl_search' is marked as crashed and should be repaired.
/path/system/libraries/Database.php on line 642
This happens randomly in Contao 2.9.1 installs (2 sites on different servers). One of the installs does not even have "search" enabled in front-end.
A simple SQL statement to repair table fixes the issue. My question - why would this happen? and is there any permanent solution?
Bookmarks