Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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 anonymous, 3 years ago

Das Modul muss deinstalliert und neu installiert werden.

comment:2 by noRiddle, 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 Torsten Riemer, 3 years ago

Milestone: modified-shop-2.0.8.0

comment:4 by Gerhard Waldemair, 3 years ago

Owner: set to Gerhard Waldemair
Resolution: fixed
Status: newclosed

In 14812:

fix #2283 - migrate trustedshops to new database schema

comment:5 by Gerhard Waldemair, 3 years ago

In 14813:

fix #2283 - migrate trustedshops to new database schema

comment:6 by Gerhard Waldemair, 3 years ago

In 14814:

fix #2283 - migrate trustedshops to new database schema

comment:7 by Gerhard Waldemair, 3 years ago

In 14815:

fix #2283 - migrate trustedshops to new database schema

Modify Ticket

Action
as closed The owner will remain Gerhard Waldemair.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.