Modify ↓
#2283 closed Bug/Fehler (fixed)
undefined constant MODULE_TS_TRUSTBADGE_POSITION_MOBILE
| Reported by: | noRiddle | Owned by: | Gerhard Waldemair |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.8.0 |
| Component: | Module | Version: | 2.0.7.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Wenn man das Partner-Modul für "Trusted Shops" benutzt wird ein Warning, bzw. auf PHP 8, ein Error geworfen:
undefined constant MODULE_TS_TRUSTBADGE_POSITION_MOBILE - assumed 'MODULE_TS_TRUSTBADGE_POSITION_MOBILE' (this will throw an Error in a future version of PHP) in File: PATH/includes/extra/application_bottom/10_trustedshops.php on Line: 24 {}
Die anderen Konstanten in diesem File dürften ebenfalls nicht definiert sein.
Ich finde nirgends im Code wo sie definiert sein sollten, auch nicht indirekt aus der DB kommend wie bei den configuration_key der DB-Tabelle configuration.
Gruß,
noRiddle
Attachments (0)
Change History (7)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Damit ich's verstehe: Warum wenn ich fragen darf und wie erfährt man das ?
Die Definitionen habe ich inzwischen gefunden in einer Datei in */application_top_end/.
defined('MODULE_TS_'.strtoupper($key)) OR define('MODULE_TS_'.strtoupper($key), $value);
Gruß,
noRiddle
comment:3 by , 3 years ago
| Milestone: | → modified-shop-2.0.8.0 |
|---|
Note:
See TracTickets
for help on using tickets.

Das Modul muss deinstalliert und neu installiert werden.