A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Promocoes.php

Line Number: 67

Backtrace:

File: /home/tarobanews/promocoes.tarobanews.com/application/controllers/Promocoes.php
Line: 67
Function: _error_handler

File: /home/tarobanews/promocoes.tarobanews.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Promocoes.php

Line Number: 68

Backtrace:

File: /home/tarobanews/promocoes.tarobanews.com/application/controllers/Promocoes.php
Line: 68
Function: _error_handler

File: /home/tarobanews/promocoes.tarobanews.com/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/tarobanews/promocoes.tarobanews.com/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/tarobanews/promocoes.tarobanews.com/application/models/Global_model.php
Line: 163
Function: get

File: /home/tarobanews/promocoes.tarobanews.com/application/controllers/Promocoes.php
Line: 68
Function: getWhere

File: /home/tarobanews/promocoes.tarobanews.com/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 MariaDB server version for the right syntax to use near 'and `id_subscriber` IS NULL AND `id_company` = '99' AND `id_status` = 1' at line 3

SELECT * FROM `promotions_subscribers_submissions` WHERE `id_promotion` = and `id_subscriber` IS NULL AND `id_company` = '99' AND `id_status` = 1

Filename: models/Global_model.php

Line Number: 163