Notice (8): Undefined variable: s_user [ROOT/templates/element/layout/footer.php, line 17]Code Context }
if($s_user["role"]=="administrator"){
echo "<p class='text-right'>PIN:".$s_user["pin"].'<a href="/users/changePin" class="ml-3" onClick="confirmDelete(this);return false;")">Regenerate Pin</a></p>';
$templateFile =
'/var/www/local-omega.techcircles.net/templates/element/layout/footer.php'
$dataForView = [
's_roles' => [
'administrator' => 'Administrator',
'cashier' => 'Cashier',
'executive' => 'Executive',
],
's_transaction_types' => [
'void' => 'Void',
'top_up' => 'Top Up',
'transaction' => 'Transaction',
'adjustment' => 'Adjustment',
'refund' => 'Refund',
],
's_card_statuses' => [
'SUSPENSE' => 'Suspense',
'ACTIVE' => 'Active',
],
's_change_card_reasons' => [
'NEW' => 'New',
'LOST' => 'Lost Card',
'DAMAGED' => 'Damaged',
'REMOVED' => 'Remove',
'REISSUE' => 'Reissue',
],
's_user_type' => null,
's_action' => 'login',
's_controller' => 'Users',
's_mobile' => false,
]
$bufferLevel = (int) 2
$s_roles = [
'administrator' => 'Administrator',
'cashier' => 'Cashier',
'executive' => 'Executive',
]
$s_transaction_types = [
'void' => 'Void',
'top_up' => 'Top Up',
'transaction' => 'Transaction',
'adjustment' => 'Adjustment',
'refund' => 'Refund',
]
$s_card_statuses = [
'SUSPENSE' => 'Suspense',
'ACTIVE' => 'Active',
]
$s_change_card_reasons = [
'NEW' => 'New',
'LOST' => 'Lost Card',
'DAMAGED' => 'Damaged',
'REMOVED' => 'Remove',
'REISSUE' => 'Reissue',
]
$s_user_type = null
$s_action = 'login'
$s_controller = 'Users'
$s_mobile = false
$str_token = ''
include - ROOT/templates/element/layout/footer.php, line 17
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181
Cake\View\View::_render() - CORE/src/View/View.php, line 1138
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673
Cake\View\View::element() - CORE/src/View/View.php, line 660
include - ROOT/templates/layout/default_blank.php, line 15
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181
Cake\View\View::_render() - CORE/src/View/View.php, line 1138
Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821
Cake\View\View::render() - CORE/src/View/View.php, line 780
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 760
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 546
Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164
Notice (8): Trying to access array offset on value of type null [ROOT/templates/element/layout/footer.php, line 17]Code Context }
if($s_user["role"]=="administrator"){
echo "<p class='text-right'>PIN:".$s_user["pin"].'<a href="/users/changePin" class="ml-3" onClick="confirmDelete(this);return false;")">Regenerate Pin</a></p>';
$templateFile = '/var/www/local-omega.techcircles.net/templates/element/layout/footer.php'
$dataForView = [
's_roles' => [
'administrator' => 'Administrator',
'cashier' => 'Cashier',
'executive' => 'Executive',
],
's_transaction_types' => [
'void' => 'Void',
'top_up' => 'Top Up',
'transaction' => 'Transaction',
'adjustment' => 'Adjustment',
'refund' => 'Refund',
],
's_card_statuses' => [
'SUSPENSE' => 'Suspense',
'ACTIVE' => 'Active',
],
's_change_card_reasons' => [
'NEW' => 'New',
'LOST' => 'Lost Card',
'DAMAGED' => 'Damaged',
'REMOVED' => 'Remove',
'REISSUE' => 'Reissue',
],
's_user_type' => null,
's_action' => 'login',
's_controller' => 'Users',
's_mobile' => false,
]
$bufferLevel = (int) 2
$s_roles = [
'administrator' => 'Administrator',
'cashier' => 'Cashier',
'executive' => 'Executive',
]
$s_transaction_types = [
'void' => 'Void',
'top_up' => 'Top Up',
'transaction' => 'Transaction',
'adjustment' => 'Adjustment',
'refund' => 'Refund',
]
$s_card_statuses = [
'SUSPENSE' => 'Suspense',
'ACTIVE' => 'Active',
]
$s_change_card_reasons = [
'NEW' => 'New',
'LOST' => 'Lost Card',
'DAMAGED' => 'Damaged',
'REMOVED' => 'Remove',
'REISSUE' => 'Reissue',
]
$s_user_type = null
$s_action = 'login'
$s_controller = 'Users'
$s_mobile = false
$str_token = ''
include - ROOT/templates/element/layout/footer.php, line 17
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181
Cake\View\View::_render() - CORE/src/View/View.php, line 1138
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673
Cake\View\View::element() - CORE/src/View/View.php, line 660
include - ROOT/templates/layout/default_blank.php, line 15
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181
Cake\View\View::_render() - CORE/src/View/View.php, line 1138
Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821
Cake\View\View::render() - CORE/src/View/View.php, line 780
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 760
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 546
Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164