Tygh\Exceptions\AException

Message

The MariaDB server is running with the --read-only option so it cannot execute this statement (1290)

INSERT INTO cscart_storage_data (`data_key`, `data`) VALUES ('cart_products_next_check', 1792928877) ON DUPLICATE KEY UPDATE `data_key` = 'cart_products_next_check', `data` = 1792928877

Error at

app/Tygh/Database/Connection.php, line: 1713

Backtrace

File:app/Tygh/Database/Connection.php
Line:1490
Function:throwError
File:app/Tygh/Database/Connection.php
Line:700
Function:execQuery
File:app/Tygh/Database/Connection.php
Line:643
Function:query
File:app/functions/fn.database.php
Line:126
Function:replaceInto
File:app/functions/fn.control.php
Line:1058
Function:db_replace_into
File:app/functions/fn.control.php
Line:1104
Function:fn_set_storage_data
File:app/functions/fn.init.php
Line:749
Function:fn_is_expired_storage_data
File:app/functions/fn.users.php
Line:3584
Function:fn_init_user
File:app/functions/fn.init.php
Line:717
Function:fn_login_user
File:app/functions/fn.init.php
Line:1188
Function:fn_init_user
File:init.php
Line:195
Function:fn_init
File:index.php
Line:95
Function:require
Fatal error: Uncaught Tygh\Exceptions\DatabaseException: The MariaDB server is running with the --read-only option so it cannot execute this statement (1290)

INSERT INTO cscart_cache_handlers (`table_name`, `cache_key`) VALUES ('language_values', 'lang_cache'), ('seo_names', 'seo_cache_static'), ('ult_language_values', 'lang_cache') ON DUPLICATE KEY UPDATE `table_name` = VALUES(`table_name`), `cache_key` = VALUES(`cache_key`)

in /home/batterycube/public_html/app/Tygh/Database/Connection.php:1713 Stack trace: #0 /home/batterycube/public_html/app/Tygh/Database/Connection.php(1490): Tygh\Database\Connection->throwError() #1 /home/batterycube/public_html/app/Tygh/Database/Connection.php(700): Tygh\Database\Connection->execQuery() #2 /home/batterycube/public_html/app/Tygh/Database/Connection.php(634): Tygh\Database\Connection->query() #3 /home/batterycube/public_html/app/Tygh/Registry.php(694): Tygh\Database\Connection->replaceInto() #4 /home/batterycube/public_html/app/Tygh/Registry.php(490): Tygh\Registry::saveCacheHandlers() #5 [internal function]: Tygh\Registry::save() #6 {main} thrown in /home/batterycube/public_html/app/Tygh/Database/Connection.php on line 1713