WordPress database error: [<div style="clear:both"> </div><div class="queries" style="clear:both; margin_bottom:2px; border: red dotted thin;">Queries made or created this session were<br/>
<ol>
<li>Raw query:
PRAGMA journal_mode = wal;</li>
<li>Rewritten:
PRAGMA journal_mode = wal;</li>
<li>With Placeholders:
PRAGMA journal_mode = wal;</li>
<li>Prepare:
PRAGMA journal_mode = wal;</li>
</ol>
</div><div style="clear:both; margin_bottom:2px; border: red dotted thin;" class="error_message" style="border-bottom:dotted blue thin;">Error occurred at line 1642 in Function prepare_query. <br/> Error message was: Problem preparing the PDO SQL Statement. Error was: SQLSTATE[HY000]: General error: 14 unable to open database file </div><pre>#0 /data/web/e151784/html/apps/smartelectric24/cms/wp-content/db.php(2736): WP_SQLite_DB\PDOEngine->get_error_message()
#1 /data/web/e151784/html/apps/smartelectric24/cms/wp-content/db.php(4903): WP_SQLite_DB\wpsqlitedb->query('PRAGMA journal_...')
#2 /data/web/e151784/html/apps/smartelectric24/cms/wp-includes/load.php(549): require_once('/data/web/e1517...')
#3 /data/web/e151784/html/apps/smartelectric24/cms/wp-settings.php(124): require_wp_db()
#4 /data/web/e151784/html/apps/smartelectric24/cms/wp-config.php(97): require_once('/data/web/e1517...')
#5 /data/web/e151784/html/apps/smartelectric24/cms/wp-load.php(50): require_once('/data/web/e1517...')
#6 /data/web/e151784/html/apps/smartelectric24/cms/wp-blog-header.php(13): require_once('/data/web/e1517...')
#7 /data/web/e151784/html/apps/smartelectric24/cms/index.php(17): require('/data/web/e1517...')
</pre>]
PRAGMA journal_mode = wal;