Warning: A non-numeric value encountered in /var/www/dev-realitatea.net/frontend/controllers/TagController.php on line 155
Fatal error: Uncaught MongoDB\Driver\Exception\CommandException: Argument to $skip cannot be negative in /var/www/dev-realitatea.net/vendor/mongodb/mongodb/src/Operation/Aggregate.php:223
Stack trace:
#0 /var/www/dev-realitatea.net/vendor/mongodb/mongodb/src/Operation/Aggregate.php(223): MongoDB\Driver\Server->executeCommand('realitatea', Object(MongoDB\Driver\Command), Object(MongoDB\Driver\ReadPreference))
#1 /var/www/dev-realitatea.net/vendor/mongodb/mongodb/src/Collection.php(215): MongoDB\Operation\Aggregate->execute(Object(MongoDB\Driver\Server))
#2 /var/www/dev-realitatea.net/core/web/ActiveRecord.php(271): MongoDB\Collection->aggregate(Array, Array)
#3 /var/www/dev-realitatea.net/frontend/models/Articol.php(151): core\web\ActiveRecord::aggregate(Array, Array)
#4 /var/www/dev-realitatea.net/frontend/controllers/TagController.php(229): frontend\models\Articol::fullArticle(Array, true)
#5 [internal function]: frontend\controllers\TagController->actionWord('U', 'K_')
#6 /var/www/dev-realitatea.net/core/web/Router.php( in /var/www/dev-realitatea.net/vendor/mongodb/mongodb/src/Operation/Aggregate.php on line 223