Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: controllers/Index.php
Line Number: 80
Backtrace:
File: /home/perfectweddingve/public_html/application/controllers/Index.php
Line: 80
Function: _error_handler
File: /home/perfectweddingve/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: count(): Parameter must be an array or an object that implements Countable
Filename: controllers/Index.php
Line Number: 88
Backtrace:
File: /home/perfectweddingve/public_html/application/controllers/Index.php
Line: 88
Function: _error_handler
File: /home/perfectweddingve/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: count(): Parameter must be an array or an object that implements Countable
Filename: controllers/Index.php
Line Number: 90
Backtrace:
File: /home/perfectweddingve/public_html/application/controllers/Index.php
Line: 90
Function: _error_handler
File: /home/perfectweddingve/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: controllers/Index.php
Line Number: 93
Backtrace:
File: /home/perfectweddingve/public_html/application/controllers/Index.php
Line: 93
Function: _error_handler
File: /home/perfectweddingve/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/perfectweddingve/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 578
Backtrace:
File: /home/perfectweddingve/public_html/application/models/Universal_model.php
Line: 290
Function: query
File: /home/perfectweddingve/public_html/application/controllers/Index.php
Line: 149
Function: CoreQuery
File: /home/perfectweddingve/public_html/index.php
Line: 315
Function: require_once
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 (M.STATUS='1') ORDER BY RAND()' at line 7
SELECT *,M.NAME as VENUE_NAME,C.name as CITY_NAME,M.ID AS MAIN_ID,M.STATUS as MAIN_STATUS FROM VENUE_MASTER AS M JOIN VENUE_DETAILS AS D ON D.VENUE_ID=M.ID JOIN cities AS C ON C.id=M.CITY_ID WHERE AND (M.STATUS='1') ORDER BY RAND()
Filename: models/Universal_model.php
Line Number: 290