A PHP Error was encountered

Severity: Warning

Message: Undefined array key "users"

Filename: controllers/Home.php

Line Number: 448

Backtrace:

File: /home/nowprayer/public_html/application/controllers/Home.php
Line: 448
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: controllers/Home.php

Line Number: 448

Backtrace:

File: /home/nowprayer/public_html/application/controllers/Home.php
Line: 448
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Undefined array key "users"

Filename: controllers/Home.php

Line Number: 450

Backtrace:

File: /home/nowprayer/public_html/application/controllers/Home.php
Line: 450
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: controllers/Home.php

Line Number: 450

Backtrace:

File: /home/nowprayer/public_html/application/controllers/Home.php
Line: 450
Function: _error_handler

File: /home/nowprayer/public_html/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/nowprayer/public_html/application/models/Home_model.php:1)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/nowprayer/public_html/application/controllers/Home.php
Line: 450
Function: query

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

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND page ='prayer' order by id desc' at line 1

select * from saved_journal where user_id = AND page ='prayer' order by id desc

Filename: controllers/Home.php

Line Number: 450