A PHP Error was encountered

Severity: 4096

Message: Argument 1 passed to Cms::newsGetAllArticles() must be of the type array, string given

Filename: controllers/Cms.php

Line Number: 2671

Backtrace:

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2671
Function: _error_handler

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2659
Function: call_user_func

File: /var/www/apps/codeigniter/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: Query/Builder.php

Line Number: 915

Backtrace:

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 915
Function: _error_handler

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 946
Function: whereIn

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 1465
Function: call_user_func_array

File: /var/www/apps/codeigniter/application/models/cms/CmsNews.php
Line: 197
Function: __call

File: /var/www/apps/codeigniter/application/models/cms/CmsNews.php
Line: 197
Function: whereNotIn

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2672
Function: getAllRecentNews

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2659
Function: call_user_func

File: /var/www/apps/codeigniter/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: 4096

Message: Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, string given, called in /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php on line 324 and defined

Filename: database/Grammar.php

Line Number: 118

Backtrace:

File: /var/www/apps/codeigniter/vendor/illuminate/database/Grammar.php
Line: 118
Function: _error_handler

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 324
Function: parameterize

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 180
Function: whereNotIn

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 77
Function: compileWheres

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 53
Function: compileComponents

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/MySqlGrammar.php
Line: 38
Function: compileSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1581
Function: compileSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1648
Function: toSql

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1634
Function: runSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 632
Function: get

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 327
Function: getModels

File: /var/www/apps/codeigniter/application/models/cms/CmsNews.php
Line: 209
Function: get

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2672
Function: getAllRecentNews

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2659
Function: call_user_func

File: /var/www/apps/codeigniter/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: array_map(): Argument #2 should be an array

Filename: database/Grammar.php

Line Number: 120

Backtrace:

File: /var/www/apps/codeigniter/vendor/illuminate/database/Grammar.php
Line: 120
Function: array_map

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 324
Function: parameterize

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 180
Function: whereNotIn

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 77
Function: compileWheres

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 53
Function: compileComponents

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/MySqlGrammar.php
Line: 38
Function: compileSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1581
Function: compileSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1648
Function: toSql

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1634
Function: runSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 632
Function: get

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 327
Function: getModels

File: /var/www/apps/codeigniter/application/models/cms/CmsNews.php
Line: 209
Function: get

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2672
Function: getAllRecentNews

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2659
Function: call_user_func

File: /var/www/apps/codeigniter/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: implode(): Invalid arguments passed

Filename: database/Grammar.php

Line Number: 120

Backtrace:

File: /var/www/apps/codeigniter/vendor/illuminate/database/Grammar.php
Line: 120
Function: implode

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 324
Function: parameterize

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 180
Function: whereNotIn

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 77
Function: compileWheres

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/Grammar.php
Line: 53
Function: compileComponents

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Grammars/MySqlGrammar.php
Line: 38
Function: compileSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1581
Function: compileSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1648
Function: toSql

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1634
Function: runSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 632
Function: get

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 327
Function: getModels

File: /var/www/apps/codeigniter/application/models/cms/CmsNews.php
Line: 209
Function: get

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2672
Function: getAllRecentNews

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2659
Function: call_user_func

File: /var/www/apps/codeigniter/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/apps/codeigniter/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: Illuminate\Database\QueryException

Message: SQLSTATE[42000]: Syntax error or access violation: 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 `cms_news`.`deleted_at` is null order by `news_date` desc limit 50' at line 1 (SQL: select * from `cms_news` where `news_status` = publish and `type_id` not in () and `cms_news`.`deleted_at` is null order by `news_date` desc limit 50)

Filename: /var/www/apps/codeigniter/vendor/illuminate/database/Connection.php

Line Number: 769

Backtrace:

File: /var/www/apps/codeigniter/vendor/illuminate/database/Connection.php
Line: 725
Function: runQueryCallback

File: /var/www/apps/codeigniter/vendor/illuminate/database/Connection.php
Line: 350
Function: run

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1648
Function: select

File: /var/www/apps/codeigniter/vendor/illuminate/database/Query/Builder.php
Line: 1634
Function: runSelect

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 632
Function: get

File: /var/www/apps/codeigniter/vendor/illuminate/database/Eloquent/Builder.php
Line: 327
Function: getModels

File: /var/www/apps/codeigniter/application/models/cms/CmsNews.php
Line: 209
Function: get

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2672
Function: getAllRecentNews

File: /var/www/apps/codeigniter/application/controllers/Cms.php
Line: 2659
Function: call_user_func

File: /var/www/apps/codeigniter/index.php
Line: 318
Function: require_once