Deprecated: Constant E_STRICT is deprecated in /home/asth4984/public_html/notification_api/system/core/Exceptions.php on line 76

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 102

Backtrace:

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 128

Backtrace:

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$hooks is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$config is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$log is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$uri is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$router is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$output is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$security is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$input is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$lang is deprecated

Filename: core/Controller.php

Line Number: 83

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 7
Function: __construct

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Notifications::$notification_model is deprecated

Filename: core/Loader.php

Line Number: 359

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 10
Function: model

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/asth4984/public_html/notification_api/system/core/Exceptions.php:76)

Filename: controllers/Notifications.php

Line Number: 13

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 13
Function: header

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/asth4984/public_html/notification_api/system/core/Exceptions.php:76)

Filename: controllers/Notifications.php

Line Number: 14

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 14
Function: header

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/asth4984/public_html/notification_api/system/core/Exceptions.php:76)

Filename: controllers/Notifications.php

Line Number: 15

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 15
Function: header

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/asth4984/public_html/notification_api/system/core/Exceptions.php:76)

Filename: controllers/Notifications.php

Line Number: 16

Backtrace:

File: /home/asth4984/public_html/notification_api/application/controllers/Notifications.php
Line: 16
Function: header

File: /home/asth4984/public_html/notification_api/index.php
Line: 315
Function: require_once

{"status":"success","message":"Notifications retrieved successfully","data":[{"id":1,"title":"OTP Verification","message":"Your OTP code is: 123456. Valid for 5 minutes.","type":"otp","timestamp":"2026-11-03 07:45:31","is_read":0,"is_archived":0,"additional_data":"{\"otp_code\":\"123456\",\"expires_in\":300}"},{"id":2,"title":"Transaction Success","message":"Payment of Rp 150,000 to John Doe has been completed successfully.","type":"transaction","timestamp":"2026-11-03 07:40:31","is_read":0,"is_archived":0,"additional_data":"{\"amount\":150000,\"recipient\":\"John Doe\",\"transaction_id\":\"TXN123456789\"}"},{"id":3,"title":"Welcome Message","message":"Welcome to our app! We hope you enjoy using our services.","type":"message","timestamp":"2026-11-03 07:35:31","is_read":1,"is_archived":0,"additional_data":null},{"id":4,"title":"Security Alert","message":"New login detected from unknown device. Please verify if this was you.","type":"message","timestamp":"2026-11-03 07:30:31","is_read":0,"is_archived":0,"additional_data":"{\"device_info\":\"Unknown Device\",\"location\":\"Unknown\"}"},{"id":5,"title":"Transfer OTP","message":"Your transfer OTP is: 789012. Do not share this code with anyone.","type":"otp","timestamp":"2026-11-03 07:25:31","is_read":1,"is_archived":0,"additional_data":"{\"otp_code\":\"789012\",\"expires_in\":300}"},{"id":6,"title":"Payment Failed","message":"Your payment of Rp 75,000 has failed. Please try again.","type":"transaction","timestamp":"2026-11-03 07:20:31","is_read":0,"is_archived":0,"additional_data":"{\"amount\":75000,\"error_code\":\"INSUFFICIENT_FUNDS\",\"transaction_id\":\"TXN987654321\"}"},{"id":7,"title":"Account Verification","message":"Please verify your email address to complete your account setup.","type":"message","timestamp":"2026-11-03 07:15:31","is_read":0,"is_archived":0,"additional_data":"{\"verification_link\":\"https:\\\/\\\/example.com\\\/verify\\\/abc123\"}"}]}