Severity: Warning
Message: A non-numeric value encountered
Filename: models/Web_model.php
Line Number: 594
Backtrace:
File: /home/apei/public_html/application/models/Web_model.php
Line: 594
Function: _error_handler
File: /home/apei/public_html/application/controllers/En.php
Line: 486
Function: getWikiByTags
File: /home/apei/public_html/index.php
Line: 316
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/apei/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/apei/public_html/application/models/Web_model.php
Line: 614
Function: get
File: /home/apei/public_html/application/controllers/En.php
Line: 486
Function: getWikiByTags
File: /home/apei/public_html/index.php
Line: 316
Function: require_once
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 '-10, 10' at line 14
SELECT `wikiapei`.*, `wiki_category`.`title` AS `category_name`, `wiki_regulator`.`title` AS `regulator_name` FROM `wikiapei` JOIN `wiki_category` ON `wiki_category`.`shared_id` = `wikiapei`.`cat_id` JOIN `wiki_regulator` ON `wiki_regulator`.`shared_id` = `wikiapei`.`regulator_id` JOIN `wikiapei_tags_relation` ON `wikiapei_tags_relation`.`wikiapei_shared_id` = `wikiapei`.`shared_id` JOIN `wiki_tags` ON `wiki_tags`.`shared_id` = `wikiapei_tags_relation`.`tags_shared_id` WHERE `wiki_tags`.`shared_id` = '21' AND `wikiapei_tags_relation`.`tags_shared_id` = '21' AND `wikiapei`.`publish` = 'yes' AND `wikiapei`.`language` = 'en' AND `wiki_category`.`language` = 'en' AND `wiki_regulator`.`language` = 'en' GROUP BY `wikiapei`.`shared_id` LIMIT -10, 10
Filename: models/Web_model.php
Line Number: 614