studip / PluginMarket

MOVED: https://gitlab.studip.de/studip/plugins/PluginMarket
https://gitlab.studip.de/studip/plugins/PluginMarket
1 stars 3 forks source link

Fehler, wenn man nach 'uni' sucht #56

Closed Krassmus closed 9 years ago

Krassmus commented 9 years ago

Nachricht: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row Code: 21000 Stack trace:

$ lib/classes/StudipPDO.class.php(521)

0 lib/classes/StudipPDO.class.php(521): PDOStatement->execute()

1 lib/models/SimpleORMap.class.php(416): StudipPDOStatement->execute(Array)

2 public/plugins_packages/studip/PluginMarket/controllers/presenting.php(129): SimpleORMap::findBySQL('? ...', Array)

3 [internal function]: PresentingController->all_action()

4 vendor/trails/trails.php(557): call_user_func_array(Array, Array)

5 app/controllers/studip_controller.php(123): Trails_Controller->perform('all')

6 vendor/trails/trails.php(154): StudipController->perform('all')

7 vendor/trails/trails.php(121): Trails_Dispatcher->map_uri_to_response('presenting/all')

8 lib/plugins/core/StudIPPlugin.class.php(141): Trails_Dispatcher->dispatch('presenting/all')

9 public/plugins.php(58): StudIPPlugin->perform('presenting/all')

10 {main}


Da brauchen wir wohl ein LIMIT 1 mehr.