A PHP Error was encountered

Severity: Notice

Message: Undefined index: title

Filename: public/News.php

Line Number: 56

Backtrace:

File: /home/geologiupnyk17/public_html/application/controllers/public/News.php
Line: 56
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: public/News.php

Line Number: 60

Backtrace:

File: /home/geologiupnyk17/public_html/application/controllers/public/News.php
Line: 60
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_nm

Filename: public/News.php

Line Number: 66

Backtrace:

File: /home/geologiupnyk17/public_html/application/controllers/public/News.php
Line: 66
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: title

Filename: public/News.php

Line Number: 67

Backtrace:

File: /home/geologiupnyk17/public_html/application/controllers/public/News.php
Line: 67
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: title

Filename: public/News.php

Line Number: 67

Backtrace:

File: /home/geologiupnyk17/public_html/application/controllers/public/News.php
Line: 67
Function: _error_handler

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/geologiupnyk17/public_html/application/models/M_public.php
Line: 438
Function: query

File: /home/geologiupnyk17/public_html/application/controllers/base/PublicBase.php
Line: 123
Function: sum_catetory

File: /home/geologiupnyk17/public_html/application/controllers/public/News.php
Line: 70
Function: display

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

Database Error

A Database Error Occurred

Error Number: 1055

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'geologiu_new17.a.category_slug' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT a.category_nm AS category_nm,a.category_slug AS category_slug, COUNT(b.category_id) AS jum FROM category_post a JOIN post b ON b.category_id= a.id_category WHERE b.category_id !='1' GROUP BY a.category_nm ORDER BY a.category_nm ASC

Filename: models/M_public.php

Line Number: 438