Fatal error: Uncaught Error: Attempt to assign property "position" on null in /var/www/jlab/data/www/alle-jobs.com/application/model/PositionToSources.php:40
Stack trace:
#0 /var/www/jlab/data/www/alle-jobs.com/application/model/Position.php(389): application\model\PositionToSources->setPosition(Object(application\model\Position))
#1 /var/www/jlab/data/www/alle-jobs.com/application/model/Position.php(46): application\model\Position->loadPositionToSources()
#2 /var/www/jlab/data/www/alle-jobs.com/application/model/Position.php(87): application\model\Position->__construct(Array)
#3 /var/www/jlab/data/www/alle-jobs.com/application/model/PositionToSource.php(334): application\model\Position::getById('240102')
#4 /var/www/jlab/data/www/alle-jobs.com/application/traits/Memoize.php(19): application\model\PositionToSource->application\model\{closure}()
#5 /var/www/jlab/data/www/alle-jobs.com/application/model/PositionToSource.php(335): application\model\PositionToSource::memoize(Object(Closure), '202004-getPosit...')
#6 /var/www/jlab/data/www/alle-jobs.com/application/model/PositionToSource.php(329): application\model\PositionToSource->getPosition()
#7 /var/www/jlab/data/www/alle-jobs.com/application/model/PositionToSource.php(443): application\model\PositionToSource->loadPosition()
#8 /var/www/jlab/data/www/alle-jobs.com/application/controller/jobboard/Api.php(27): application\model\PositionToSource::getById('202004')
#9 [internal function]: application\controller\jobboard\Api->actionPositionToSource()
#10 /var/www/jlab/data/www/alle-jobs.com/application/controller/AbstractApiController.php(56): call_user_func_array(Array, Array)
#11 /var/www/jlab/data/www/alle-jobs.com/application/controller/AbstractApiController.php(17): application\controller\AbstractApiController->processRequest('positionToSourc...')
#12 [internal function]: application\controller\AbstractApiController->actionProcessRequest('positionToSourc...')
#13 /var/www/jlab/data/www/alle-jobs.com/application/controller/system/Router.php(79): call_user_func_array(Array, Array)
#14 /var/www/jlab/data/www/alle-jobs.com/application/application.php(20): application\controller\system\Router->handle()
#15 /var/www/jlab/data/www/alle-jobs.com/app.php(10): application\Application->__construct()
#16 {main}
thrown in /var/www/jlab/data/www/alle-jobs.com/application/model/PositionToSources.php on line 40