object(MongoDB\Driver\Exception\CommandException)#15 (9) { ["message":protected]=> string(78) "invalid argument to $skip stage: Expected a non-negative number in: $skip: -18" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(5107200) ["file":protected]=> string(65) "/var/www/html2/vendor/mongodb/mongodb/src/Operation/Aggregate.php" ["line":protected]=> int(263) ["trace":"Exception":private]=> array(12) { [0]=> array(5) { ["file"]=> string(65) "/var/www/html2/vendor/mongodb/mongodb/src/Operation/Aggregate.php" ["line"]=> int(263) ["function"]=> string(18) "executeReadCommand" ["class"]=> string(21) "MongoDB\Driver\Server" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(56) "/var/www/html2/vendor/mongodb/mongodb/src/Collection.php" ["line"]=> int(223) ["function"]=> string(7) "execute" ["class"]=> string(27) "MongoDB\Operation\Aggregate" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(28) "/var/www/html2/func/__search" ["line"]=> int(429) ["function"]=> string(9) "aggregate" ["class"]=> string(18) "MongoDB\Collection" ["type"]=> string(2) "->" } [3]=> array(4) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(1517) ["args"]=> array(1) { [0]=> string(28) "/var/www/html2/func/__search" } ["function"]=> string(7) "include" } [4]=> array(3) { ["file"]=> string(28) "/var/www/html2/func/fn_10000" ["line"]=> int(591) ["function"]=> string(11) "search_form" } [5]=> array(4) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(90) ["args"]=> array(1) { [0]=> string(28) "/var/www/html2/func/fn_10000" } ["function"]=> string(7) "include" } [6]=> array(5) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(50) ["function"]=> string(4) "call" ["class"]=> string(9) "FuncRuner" ["type"]=> string(2) "->" } [7]=> array(5) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(1876) ["function"]=> string(3) "run" ["class"]=> string(9) "FuncRuner" ["type"]=> string(2) "->" } [8]=> array(3) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(1842) ["function"]=> string(7) "runFunc" } [9]=> array(3) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(1651) ["function"]=> string(8) "runEvent" } [10]=> array(3) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(1992) ["function"]=> string(9) "show_page" } [11]=> array(4) { ["file"]=> string(24) "/var/www/html2/index.php" ["line"]=> int(27) ["args"]=> array(1) { [0]=> string(26) "/var/www/html2/func/__main" } ["function"]=> string(7) "include" } } ["previous":"Exception":private]=> NULL ["errorLabels":protected]=> NULL ["resultDocument":protected]=> object(stdClass)#26 (4) { ["ok"]=> float(0) ["errmsg"]=> string(78) "invalid argument to $skip stage: Expected a non-negative number in: $skip: -18" ["code"]=> int(5107200) ["codeName"]=> string(15) "Location5107200" } }