Tygh\Exceptions\AException

Message

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND (0 OR cscart_categories.category_id=291 OR cscart_categories.category_id' at line 1 (1064)

SELECT cscart_categories.category_id,cscart_categories.parent_id,cscart_categories.id_path,cscart_category_descriptions.category,cscart_categories.position,cscart_categories.status,cscart_seo_names.name as seo_name,cscart_seo_names.path as seo_path,cscart_categories.age_verification,cscart_categories.age_limit,cscart_category_descriptions.age_warning_message FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id AND cscart_category_descriptions.lang_code = 'ru' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_categories.category_id AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'ru' WHERE 1=1 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A') AND cscart_categories.parent_id IN (268) AND cscart_categories.id_path LIKE '268/%' AND ((cscart_categories.category_id=)) AND (0 OR cscart_categories.category_id=291 OR cscart_categories.category_id=371 OR cscart_categories.category_id=381 OR cscart_categories.category_id=384 OR cscart_categories.category_id=385 OR cscart_categories.category_id=386 OR cscart_categories.category_id=387 OR cscart_categories.category_id=388 OR cscart_categories.category_id=393 OR cscart_categories.category_id=394 OR cscart_categories.category_id=450) AND (cscart_categories.category_id<>393) ORDER BY cscart_categories.is_trash asc, cscart_categories.position asc, cscart_category_descriptions.category asc

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:500
Function:throwError
File:app/Tygh/Database/Connection.php
Line:261
Function:query
File:app/functions/fn.database.php
Line:45
Function:getHash
File:app/functions/fn.catalog.php
Line:1624
Function:db_get_hash_array
File:app/functions/fn.catalog.php
Line:1244
Function:fn_get_categories
File:app/controllers/frontend/categories.php
Line:75
Function:fn_get_subcategories
File:app/functions/fn.control.php
Line:672
Function:include
File:app/functions/fn.control.php
Line:430
Function:fn_run_controller
File:index.php
Line:91
Function:fn_dispatch

Fatal error: Uncaught Tygh\Exceptions\DatabaseException: Disk full (/tmp/#sql_436_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") <b>(1021)</b><p>SHOW COLUMNS FROM cscart_sessions</p> in /home/buydana/public_html/app/Tygh/Database/Connection.php:1136 Stack trace: #0 /home/buydana/public_html/app/Tygh/Database/Connection.php(500): Tygh\Database\Connection->throwError('SHOW COLUMNS FR...', 1021, 'Disk full (/tmp...') #1 [internal function]: Tygh\Database\Connection->query('SHOW COLUMNS FR...') #2 /home/buydana/public_html/app/Tygh/Database/Connection.php(327): call_user_func_array(Array, Array) #3 /home/buydana/public_html/app/Tygh/Database/Connection.php(661): Tygh\Database\Connection->getColumn('SHOW COLUMNS FR...') #4 /home/buydana/public_html/app/Tygh/Database/Connection.php(691): Tygh\Database\Connection->getTableFields('sessions') #5 /home/buydana/public_html/app/Tygh/Database/Connection.php(549): Tygh\Database\Connection->checkTableFields(Array, 'sessions') #6 /home/buydana/pub in /home/buydana/public_html/app/Tygh/Database/Connection.php on line 1136