A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: periochi/single_post.php

Line Number: 5

Backtrace:

File: /home/il537406/erevna24.gr/application/modules/frontend/views/posts/gr/periochi/single_post.php
Line: 5
Function: _error_handler

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 362
Function: include

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 304
Function: _ci_load

File: /home/il537406/erevna24.gr/application/modules/frontend/controllers/Frontend.php
Line: 73
Function: view

File: /home/il537406/erevna24.gr/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: data

Filename: periochi/single_post.php

Line Number: 19

Backtrace:

File: /home/il537406/erevna24.gr/application/modules/frontend/views/posts/gr/periochi/single_post.php
Line: 19
Function: _error_handler

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 362
Function: include

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 304
Function: _ci_load

File: /home/il537406/erevna24.gr/application/modules/frontend/controllers/Frontend.php
Line: 73
Function: view

File: /home/il537406/erevna24.gr/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: periochi/single_post.php

Line Number: 21

Backtrace:

File: /home/il537406/erevna24.gr/application/modules/frontend/views/posts/gr/periochi/single_post.php
Line: 21
Function: _error_handler

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 362
Function: include

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 304
Function: _ci_load

File: /home/il537406/erevna24.gr/application/modules/frontend/controllers/Frontend.php
Line: 73
Function: view

File: /home/il537406/erevna24.gr/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: data

Filename: periochi/single_post.php

Line Number: 58

Backtrace:

File: /home/il537406/erevna24.gr/application/modules/frontend/views/posts/gr/periochi/single_post.php
Line: 58
Function: _error_handler

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 362
Function: include

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 304
Function: _ci_load

File: /home/il537406/erevna24.gr/application/modules/frontend/controllers/Frontend.php
Line: 73
Function: view

File: /home/il537406/erevna24.gr/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: periochi/single_post.php

Line Number: 60

Backtrace:

File: /home/il537406/erevna24.gr/application/modules/frontend/views/posts/gr/periochi/single_post.php
Line: 60
Function: _error_handler

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 362
Function: include

File: /home/il537406/erevna24.gr/application/third_party/MX/Loader.php
Line: 304
Function: _ci_load

File: /home/il537406/erevna24.gr/application/modules/frontend/controllers/Frontend.php
Line: 73
Function: view

File: /home/il537406/erevna24.gr/index.php
Line: 317
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 ') ORDER BY `post_created_at` DESC' at line 4

SELECT * FROM `posts` LEFT JOIN `media` ON `posts`.`post_image` = `media`.`media_id` WHERE `post_id` IN() ORDER BY `post_created_at` DESC

Filename: modules/frontend/models/Post_model.php

Line Number: 47