[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1) Can't create/write to file '/tmp/#sql_3d0_0.MAI' (Errcode: 28 "No space left on device") (400)

				SELECT NULL AS SITE_ID, NAME, VALUE 
				FROM b_option 
				WHERE MODULE_ID = 'sale' 
				UNION
				SELECT SITE_ID, NAME, VALUE 
				FROM b_option_site 
				WHERE MODULE_ID = 'sale' 
			
/var/www/www-root/data/www/amarket.online/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/lib/config/option.php:200
#2: Bitrix\Main\Config\Option::load(string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/lib/config/option.php:38
#3: Bitrix\Main\Config\Option::get(string, string, string, boolean)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/classes/general/option.php:30
#4: CAllOption::GetOptionString(string, string, string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/sale/affiliate.php:2
#5: include_once(string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/classes/general/module.php:453
#6: ExecuteModuleEventEx(array)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/include.php:571
#7: require_once(string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/include/prolog.php:10
#9: require_once(string)
	/var/www/www-root/data/www/amarket.online/bitrix/header.php:1
#10: require(string)
	/var/www/www-root/data/www/amarket.online/catalog/index.php:6
#11: include_once(string)
	/var/www/www-root/data/www/amarket.online/bitrix/modules/main/include/urlrewrite.php:159
#12: include_once(string)
	/var/www/www-root/data/www/amarket.online/bitrix/urlrewrite.php:2