Closed Bomjman closed 3 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
When I click on prescription it then takes me to an error screen:
Version: 4.1.6 Logs:
2024/02/06 10:59:34 [info] [application] [useractivity] New episode created for patient_id=2339879, firm_id=13, start_date='2024-02-06 10:59:34' [172.19.0.1] [danielcrown] 2024/02/06 10:59:34 [error] [php] Trying to get property 'medicationAttributeOptions' of non-object (/var/www/openeyes/protected/modules/OphDrPrescription/views/default/form_Element_OphDrPrescription_Details.php:56) Stack trace:
0 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CController.php(872): DefaultController->renderFile()
1 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(1652): DefaultController->renderPartial()
2 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(1724): DefaultController->renderPartial()
3 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(1814): DefaultController->renderElement()
4 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(1796): DefaultController->renderElements()
5 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(1744): DefaultController->renderTiledElements()
6 /var/www/openeyes/protected/modules/OphDrPrescription/views/default/create.php(70): DefaultController->renderOpenElements()
7 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require()
8 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CBaseController.php(95): DefaultController->renderInternal()
9 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CController.php(872): DefaultController->renderFile()
10 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(1652): DefaultController->renderPartial()
11 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CController.php(785): DefaultController->renderPartial()
12 /var/www/openeyes/protected/controllers/BaseEventTypeController.php(919): DefaultController->render()
13 /var/www/openeyes/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(49): DefaultController->actionCreate()
14 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams()
15 /var/www/openeyes/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(134): DefaultController->runAction()
16 /var/www/openeyes/vendor/yiisoft/yii/framework/web/filters/CFilter.php(40): CFilterChain->run()
17 /var/www/openeyes/protected/controllers/BaseController.php(72): CAccessControlFilter->filter()
18 /var/www/openeyes/vendor/yiisoft/yii/framework/web/filters/CInlineFilter.php(58): DefaultController->filterAccessControl()
19 /var/www/openeyes/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
20 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run()
21 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CController.php(265): DefaultController->runActionWithFilters()
22 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): DefaultController->run()
23 /var/www/openeyes/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController()
24 /var/www/openeyes/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()
25 /var/www/openeyes/index.php(49): CWebApplication->run()
REQUEST_URI=/OphDrPrescription/Default/create?patient_id=2339879