A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: models/Namemeaningmodel.php

Line Number: 23

Backtrace:

File: /home/customer/www/latestbabynames.com/public_html/application/models/Namemeaningmodel.php
Line: 23
Function: _error_handler

File: /home/customer/www/latestbabynames.com/public_html/application/controllers/Religion.php
Line: 324
Function: get_data_by_name

File: /home/customer/www/latestbabynames.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'religion' of non-object

Filename: controllers/Religion.php

Line Number: 329

Backtrace:

File: /home/customer/www/latestbabynames.com/public_html/application/controllers/Religion.php
Line: 329
Function: _error_handler

File: /home/customer/www/latestbabynames.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'religion' of non-object

Filename: controllers/Religion.php

Line Number: 330

Backtrace:

File: /home/customer/www/latestbabynames.com/public_html/application/controllers/Religion.php
Line: 330
Function: _error_handler

File: /home/customer/www/latestbabynames.com/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/customer/www/latestbabynames.com/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/customer/www/latestbabynames.com/public_html/application/models/Namemeaningmodel.php
Line: 59
Function: query

File: /home/customer/www/latestbabynames.com/public_html/application/controllers/Religion.php
Line: 492
Function: getReligionNameById

File: /home/customer/www/latestbabynames.com/public_html/application/controllers/Religion.php
Line: 330
Function: religionid

File: /home/customer/www/latestbabynames.com/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 ')' at line 1

select religion From religion where id IN()

Filename: models/Namemeaningmodel.php

Line Number: 59