A PHP Error was encountered

Severity: Notice

Message: Undefined index: user_id

Filename: models/Notification_model.php

Line Number: 65

Backtrace:

File: /var/www/html/dreampanelreseller/application/models/Notification_model.php
Line: 65
Function: _error_handler

File: /var/www/html/dreampanelreseller/application/controllers/Home.php
Line: 25
Function: getByUser

File: /var/www/html/dreampanelreseller/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: user_id

Filename: models/Notification_model.php

Line Number: 42

Backtrace:

File: /var/www/html/dreampanelreseller/application/models/Notification_model.php
Line: 42
Function: _error_handler

File: /var/www/html/dreampanelreseller/application/controllers/Home.php
Line: 28
Function: getByNotificationsCount

File: /var/www/html/dreampanelreseller/index.php
Line: 317
Function: require_once