Coupons
Gutscheine
Alle deine Gutscheine auf einen Blick
Immer den Durchblick behalten! Auf dieser Seite siehst du alle deine Gutscheine auf einen Blick. Du kannst für jeden einzelnen Gutscheincode sehen, ob und durch wen er eingelöst wurde. Außerdem kannst du dir die Codes auch als pdf herunterladen.
Debug-Info: Unknown column 'ci.userenrolmentid' in 'ON'
SELECT c.id, c.userid, cc.userenrolmentid, ci.pathnamehash
FROM mdl_block_coupon c
LEFT JOIN mdl_block_coupon_courses cc ON cc.couponid = c.id
LEFT JOIN mdl_ildcertificate_issues ci ON ci.userenrolmentid = cc.userenrolmentid
WHERE c.ownerid = ? AND c.claimed = 1 AND ci.pathnamehash NOT LIKE ""
[array (
0 => '1',
)]
Error code: dmlreadexception
SELECT c.id, c.userid, cc.userenrolmentid, ci.pathnamehash
FROM mdl_block_coupon c
LEFT JOIN mdl_block_coupon_courses cc ON cc.couponid = c.id
LEFT JOIN mdl_ildcertificate_issues ci ON ci.userenrolmentid = cc.userenrolmentid
WHERE c.ownerid = ? AND c.claimed = 1 AND ci.pathnamehash NOT LIKE ""
[array (
0 => '1',
)]
Error code: dmlreadexception
Stack trace:
- line 497 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
- line 1364 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 64 of /blocks/ocmyproducts/my_coupons.php: call to mysqli_native_moodle_database->get_records_sql()