Error description: Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap spacearray(3) { [0]=> array(4) { ["file"]=> string(37) "/virtual/common/lib/p_application.inc" ["line"]=> int(1503) ["function"]=> string(9) "mysql_get" ["args"]=> array(1) { [0]=> string(32) "SELECT MIN(id) id FROM s_office " } } [1]=> array(6) { ["file"]=> string(37) "/virtual/common/lib/p_application.inc" ["line"]=> int(1236) ["function"]=> string(23) "get_referring_office_id" ["class"]=> string(12) "pApplication" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(0) "" } } [2]=> array(6) { ["file"]=> string(51) "/virtual/hosts/ojcrew/local/public/public/index.php" ["line"]=> int(106) ["function"]=> string(12) "vacancy_head" ["class"]=> string(12) "pApplication" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> object(vlibTemplate)#5 (23) { ["OPTIONS"]=> array(17) { ["MAX_INCLUDES"]=> int(10) ["TEMPLATE_DIR"]=> string(45) "/virtual/hosts/ojcrew/local/common/templates/" ["GLOBAL_VARS"]=> int(1) ["GLOBAL_CONTEXT_VARS"]=> int(1) ["LOOP_CONTEXT_VARS"]=> int(1) ["SET_LOOP_VAR"]=> int(1) ["DEFAULT_ESCAPE"]=> string(4) "none" ["STRICT"]=> int(1) ["CASELESS"]=> int(0) ["UNKNOWNS"]=> string(6) "ignore" ["TIME_PARSE"]=> string(1) "0" ["ENABLE_PHPINCLUDE"]=> string(1) "1" ["ENABLE_SHORTTAGS"]=> NULL ["INCLUDE_PATHS"]=> array(0) { } ["CACHE_DIRECTORY"]=> string(62) "/virtual/hosts/ojcrew/local/common/lib/vlib/vlibTemplateCache/" ["CACHE_LIFETIME"]=> int(604800) ["CACHE_EXTENSION"]=> string(3) "vtc" } ["ESCAPE_TAGS"]=> array(10) { ["html"]=> array(2) { ["open"]=> string(17) "htmlspecialchars(" ["close"]=> string(13) ", ENT_QUOTES)" } ["url"]=> array(2) { ["open"]=> string(10) "urlencode(" ["close"]=> string(1) ")" } ["rawurl"]=> array(2) { ["open"]=> string(13) "rawurlencode(" ["close"]=> string(1) ")" } ["sq"]=> array(2) { ["open"]=> string(12) "addcslashes(" ["close"]=> string(6) ", "'")" } ["dq"]=> array(2) { ["open"]=> string(12) "addcslashes(" ["close"]=> string(6) ", '"')" } [1]=> array(2) { ["open"]=> string(17) "htmlspecialchars(" ["close"]=> string(13) ", ENT_QUOTES)" } [0]=> array(2) { ["open"]=> string(0) "" ["close"]=> string(0) "" } ["none"]=> array(2) { ["open"]=> string(0) "" ["close"]=> string(0) "" } ["hex"]=> array(2) { ["open"]=> string(19) "$this->_escape_hex(" ["close"]=> string(8) ", false)" } ["hexentity"]=> array(2) { ["open"]=> string(19) "$this->_escape_hex(" ["close"]=> string(7) ", true)" } } ["FORMAT_TAGS"]=> array(6) { ["uc"]=> array(2) { ["open"]=> string(11) "strtoupper(" ["close"]=> string(1) ")" } ["lc"]=> array(2) { ["open"]=> string(11) "strtolower(" ["close"]=> string(1) ")" } ["ucfirst"]=> array(2) { ["open"]=> string(8) "ucfirst(" ["close"]=> string(1) ")" } ["lcucfirst"]=> array(2) { ["open"]=> string(19) "ucfirst(strtolower(" ["close"]=> string(2) "))" } ["ucwords"]=> array(2) { ["open"]=> string(8) "ucwords(" ["close"]=> string(1) ")" } ["lcucwords"]=> array(2) { ["open"]=> string(19) "ucwords(strtolower(" ["close"]=> string(2) "))" } } ["allowed_if_ops"]=> array(7) { [0]=> string(2) "==" [1]=> string(2) "!=" [2]=> string(2) "<>" [3]=> string(1) "<" [4]=> string(1) ">" [5]=> string(2) "<=" [6]=> string(2) ">=" } ["allowed_loop_dbs"]=> array(11) { [0]=> string(5) "MYSQL" [1]=> string(10) "POSTGRESQL" [2]=> string(8) "INFORMIX" [3]=> string(9) "INTERBASE" [4]=> string(6) "INGRES" [5]=> string(5) "MSSQL" [6]=> string(4) "MSQL" [7]=> string(4) "OCI8" [8]=> string(6) "ORACLE" [9]=> string(7) "OVRIMOS" [10]=> string(6) "SYBASE" } ["VLIBTEMPLATE_ROOT"]=> string(20) "/virtual/vendor/vlib" ["_currentincludedir"]=> array(0) { } ["_includedepth"]=> int(0) ["_tmplfilename"]=> string(46) "/virtual/common/templates/public/p_body_3.html" ["_tmplfile"]=> NULL ["_tmplfilep"]=> NULL ["_tmploutput"]=> NULL ["_vars"]=> array(1) { ["__REQUEST_URI__"]=> string(1) "?" } ["_arrvars"]=> array(0) { } ["_namespace"]=> array(0) { } ["_parsed"]=> bool(false) ["_unknowns"]=> array(0) { } ["_firstparsetime"]=> NULL ["_totalparsetime"]=> NULL ["_currloopname"]=> NULL ["_currloop"]=> array(0) { } ["_debug"]=> NULL ["_cache"]=> NULL } } } } SELECT MIN(id) id FROM s_office
Fatal error: Uncaught TypeError: Argument 1 passed to mysql_num_rows() must be an instance of mysqli_result, boolean given, called in /virtual/common/lib/s_data.php on line 2492 and defined in /virtual/common/lib/db.php:152 Stack trace: #0 /virtual/common/lib/s_data.php(2492): mysql_num_rows(false) #1 /virtual/common/lib/p_application.inc(1503): fetchData(false, '', '') #2 /virtual/common/lib/p_application.inc(1236): pApplication::get_referring_office_id('') #3 /virtual/hosts/ojcrew/local/public/public/index.php(106): pApplication::vacancy_head(Object(vlibTemplate)) #4 {main} thrown in /virtual/common/lib/db.php on line 152