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 ')' at line 1
Error Nr.: 1064
Query: SELECT * FROM `sys_topevent` WHERE (trash, active) = (0, 1) AND id IN() in library/class.mysql.php on line 112
library/class.model.php
getArray('SELECT * FROM topevent WHERE (trash, active) = (0, 1) AND id IN()')
1260             // N:1 als Radio oder Selectbox
1261             case self::BELONGS_TO;  {
1262                 // Fremdschlüssel ist direkt auf Model
1263                 $field_def = $this->model->getField($this->name);
1264                 
1265                 $options = $this->model->db->getArray("SELECT * FROM {$this->foreign_table}".$this->getWhere().$this->getOrder());
1266                 
1267                 // Umformung via Callback
1268                 if(is_callable($this->data_callback)) 
1269                     $options = call_user_func($this->data_callback, $options);
1270                 
library/class.model.php
getControl('topevent_id', null, null, Array
    (
    )
)
677         if($preferredType == "hidden") return HTML::getHidden($field, $value);
678 
679         if ($def->extra == "auto_increment") throw new Exception("cannot create control for autoincrement field");
680 
681         // Wenn das Feld zu einer Beziehung gehört, dann Beziehungscontrol erzeugen
682         if(isset($this->relations[$orgfield])) return $this->relations[$orgfield]->getControl($field, $preferredType, $attr, $params);
683 
684         switch($def->type) {
685             case "set": {
686                 if(!is_array($value)) $value = array();
687                 $values = array();
library/class.modelfiles.php
getControlFor('topevent_id', null, null, Array
    (
    )
)
626         // Prüfen ob Uploadfeld hier        
627         if(isset($this->uploads[$field])) {
628             return $this->uploads[$field]->getUploadbox();
629         }
630         // Sonst Standardverhalten
631         return parent::getControlFor($field, $preferredType, $attr, $params);
632     }
633     
634     /**
635      * @version 1.0.0
636      * Label erzeugen
module/topevent/partner/form.php
getControlFor('topevent_id')
76 </tpl:head>
77 <tpl:content>
78 <?=$formcheck?>
79     <form action="" method="POST" enctype="multipart/form-data">
80         <fieldset>
81             <?=$model->getLabelFor('topevent_id', null, false).$model->getControlFor('topevent_id').HTML::getTag('br', null)?>
82         </fieldset>
83         <fieldset>
84             <table cellpadding=0 cellspacing=0 style="width:<?=count($languages)*400?>px" id="texttable">
85                 <tr>
86                     <td>&nbsp;</td>
library/class.module.php
include('/www/htdocs/w01a2832/projekte/kunden/vivalatsch.it/contentcontrol/module/topevent/partner/form.php')
651                 // Bisherige Ausgaben werden als Fehler ausgegeben. Die Ausgabe wird auch auf UTF-8 BOM kontrolliert
652                 if(strpos(ob_get_contents(), "\xEF\xBB\xBF") !== false)
653                     die('BOM!');
654                 // Include
655                 try {
656                     include($path);
657                 // Standardhandler für nicht gefundene Datensätze
658                 } catch(RecordNotFoundException $ex) {
659                     // Lokal Trace anzeigen
660                     if(app()->local)
661                         throw $ex;
library/class.app.php
exec()
412         
413         // Sicherheitsregeln auf Module anwendne
414         Module::applySecurity();
415         
416         // Ausführen
417         $module->exec();
418         
419         // Wenn Weiterleitung vorhanden, dann ausführen
420         if($this->hasReservedRedirect()) $this->executeReservedRedirect();
421     }
422         
loader.php
execRequest()
34 
35 // Installation
36 if(app()->request->has('install') && file_exists(app()->appRoot('_required'))) Module::install();
37 
38 // Ausführen
39 app()->execRequest();