Error is generate by MainClass:
PDOException Object ( [message:protected] => SQLSTATE[HY001]: Memory allocation error: 1038 Out of sort memory, consider increasing server sort buffer size [string:Exception:private] => [code:protected] => HY001 [file:protected] => /var/www/vhost/OKFLORA/okflora.ro/global/main/classes/Abstract/genericManager.abstract.php [line:protected] => 262 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/main/classes/Abstract/genericManager.abstract.php [line] => 262 [function] => execute [class] => PDOStatement [type] => -> ) [1] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/global/location/storages/locationManager.php [line] => 46 [function] => getall [class] => genericManager [type] => -> ) [2] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/global/location/location.global.php [line] => 1565 [function] => getall [class] => locationManager [type] => -> ) [3] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/global/location/location.global.php [line] => 1519 [function] => GL_setcartlocation [class] => locationModuleGlobal [type] => -> ) [4] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/modules/_location/location.mod.php [line] => 807 [function] => GL_setcartsession [class] => locationModuleGlobal [type] => -> ) [5] => Array ( [function] => setlocationsession [class] => locationModule [type] => -> ) [6] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/main/classes/Abstract/genericApplication.class.php [line] => 104 [function] => invoke [class] => ReflectionMethod [type] => -> ) [7] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/appl/application.class.php [line] => 56 [function] => callFuncFromModule [class] => genericApplication [type] => -> ) [8] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/main/mainClass.class.php [line] => 263 [function] => processModuleRequest [class] => application [type] => -> ) [9] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/global/main/mainClass.class.php [line] => 241 [function] => processRequest [class] => mainClass [type] => -> ) [10] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/index.php [line] => 52 [function] => processSiteRequest [class] => mainClass [type] => -> ) [11] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/indexnginx.php [line] => 58 [args] => Array ( [0] => /var/www/vhost/OKFLORA/okflora.ro/www/index.php ) [function] => require_once ) [12] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/indexnginx.php [line] => 222 [function] => finish ) [13] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/indexnginx.php [line] => 203 [function] => getResult ) [14] => Array ( [file] => /var/www/vhost/OKFLORA/okflora.ro/www/indexnginx.php [line] => 324 [function] => checkModule ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => HY001 [1] => 1038 [2] => Out of sort memory, consider increasing server sort buffer size ) )