A PHP Error was encountered

Severity: Notice

Message: Undefined variable: image

Filename: controllers/Kontributor.php

Line Number: 36

Backtrace:

File: /home/topcareer/public_html/application/controllers/Kontributor.php
Line: 36
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id_info

Filename: controllers/Kontributor.php

Line Number: 44

Backtrace:

File: /home/topcareer/public_html/application/controllers/Kontributor.php
Line: 44
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: judul

Filename: controllers/Kontributor.php

Line Number: 46

Backtrace:

File: /home/topcareer/public_html/application/controllers/Kontributor.php
Line: 46
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id_info

Filename: controllers/Kontributor.php

Line Number: 50

Backtrace:

File: /home/topcareer/public_html/application/controllers/Kontributor.php
Line: 50
Function: _error_handler

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/topcareer/public_html/application/models/Kontribusi_model.php
Line: 111
Function: query

File: /home/topcareer/public_html/application/controllers/Kontributor.php
Line: 50
Function: getArticleByTag

File: /home/topcareer/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 s.nama_section = 'Kontributor' GROUP BY at.id_berita ' at line 8

SELECT a.id_berita, a.judul, a.judul_seo, g.nama_gambar, t.nama_tag, COUNT(*) AS relevance FROM berita a LEFT JOIN list_tags at ON a.id_berita = at.id_berita LEFT JOIN tag t ON at.id_tag = t.id_tag LEFT JOIN gambar_naskah g ON g.id_berita = a.id_berita LEFT JOIN section s ON s.id_section = a.section WHERE t.nama_tag IN ('') AND a.id_berita NOT IN () AND s.nama_section = 'Kontributor' GROUP BY at.id_berita ORDER BY relevance, a.datetime DESC LIMIT 5

Filename: models/Kontribusi_model.php

Line Number: 111