A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Ignite.php

Line Number: 1270

Backtrace:

File: /home2/cp926760/public_html/msp_v4/application/controllers/Ignite.php
Line: 1270
Function: _error_handler

File: /home2/cp926760/public_html/msp_v4/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 layout = 1' at line 1

SELECT * FROM blocks_tbl WHERE (relatedLink = 0 OR relatedLink = ) AND layout = 1

Filename: models/Main_model.php

Line Number: 607