APPLICATION ERROR #401

Database query failed. Error received from database was #-1: ERROR: column "enabled" is of type boolean but expression is of type integer
LINE 1: update oqody_project_table set enabled=0 where id=47
^
HINT: You will need to rewrite or cast the expression. for the query: update oqody_project_table set enabled=0 where id=47.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

Detailed error information

  • Full path: /var/www/oqody.online/core/classes/DbQuery.class.php
  • Line number: 301

Stack trace

# Filename Line Class Type Function Args
0 /var/www/oqody.online/core/classes/DbQuery.class.php 301 - - trigger_error <string>'401', <integer>256
1 /var/www/oqody.online/core/classes/DbQuery.class.php 796 DbQuery -> db_execute <integer>-1, <integer>-1
2 /var/www/oqody.online/core/database_api.php 315 DbQuery :: compat_db_query <string>'update {project} set enabled=0 where id=47', <array> { }, <integer>-1, <integer>-1, <boolean>true
3 /var/www/oqody.online/plugins/OqodyItemList/functions.php 7 - - db_query <string>'update {project} set enabled=0 where id=47'
4 /var/www/oqody.online/plugins/OqodyItemList/OqodyItemList.php 20 - - disable_projects -
5 /var/www/oqody.online/core/classes/MantisPlugin.class.php 292 OqodyItemListPlugin -> init -
6 /var/www/oqody.online/core/plugin_api.php 1106 MantisPlugin -> __init -
7 /var/www/oqody.online/core/plugin_api.php 1041 - - plugin_init <string>'OqodyItemList'
8 /var/www/oqody.online/core.php 195 - - plugin_init_installed -
9 /var/www/oqody.online/index.php 31 - - require_once <string>'/var/www/oqody.online/core.php'