WARN Piwik\Session[2023-12-03 13:19:13] [d6189] Unable to start session: SQLSTATE[HY000]: General error: 145 Table './ctrends_piwik/piwik_session' is marked as crashed and should be repaired
Piwik › Error
Piwik # Web Analytics

Error: Unable to start session. Please check that the web server has enough permission to write to these files/directories:
For example, on a Linux server if your Apache httpd user is www-data, you can try to execute:
chown -R www-data:www-data /home/ctrends/public_html/tracker/tmp/sessions/
chmod -R 0755 /home/ctrends/public_html/tracker/tmp/sessions/

If you still experience issues after trying these changes, we recommend that you enable database session storage.

Debug: the original error was 
SQLSTATE[HY000]: General error: 145 Table './ctrends_piwik/piwik_session' is marked as crashed and should be repaired

Go to Piwik
Login