Hallo,
bekomme nach erfolgter Zahlung mit Sofort Modul folgenden LOG Error nach Umstellung auf PHP 7.3:
Aktuelle Zen Cart 1.5.6.e_DE
MySQL 5.7 mit MySQL Modus: STRICT_TRANS_TABLES
Der Bestellvorgang und die Zahlung mittels SOFORT funktionieren trotz PHP Error und es werden auch in die Tabelle orders_status_history die Einträge geschrieben und auch die orders_id wird richtig in die DB geschrieben, möchte das aber lösen.
Finde aber in diesem Fall leider keinen Ansatz in welcher php Datei zu suchen wäre um einen INT Wert entsprechend zu übergeben.
Bitte um Hilfe.
bekomme nach erfolgter Zahlung mit Sofort Modul folgenden LOG Error nach Umstellung auf PHP 7.3:
Code:
[COLOR=#333333][FONT=Verdana][22-Dec-2020 22:19:45 Europe/Vienna] Request URI: /index.php?main_page=sofort_notification, IP address: 3.121.141.196[/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#1 trigger_error() called at [/home/.sites/689/site926/web/includes/classes/db/mysql/query_factory.php:171][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#2 queryFactory->show_error() called at [/xxx/includes/classes/db/mysql/query_factory.php:143][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#3 queryFactory->set_error() called at [/xxx/includes/classes/db/mysql/query_factory.php:270][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#4 queryFactory->Execute() called at [/xxx/includes/functions/functions_general.php:952][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#5 zen_db_perform() called at [/xxx/ext/modules/payment/sofort/services/Communication.php:289][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#6 Communication->handleSofortStatusUpdate() called at [/xxx/ext/modules/payment/sofort/controller/Notification.php:61][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#7 Notification->notificationAction() called at [/xxx//includes/modules/pages/sofort_notification/header_php.php:8][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]#8 require(/xxx/includes/modules/pages/sofort_notification/header_php.php) called at [/xxx/index.php:36][/FONT][/COLOR] [COLOR=#333333][FONT=Verdana]--> PHP Fatal error: 1366:Incorrect integer value: '' for column 'orders_id' at row 1 :: INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) VALUES ('', '1', now(), '0', 'SOFORT Banking has been completed successfully - Transaction ID: 81805-170714-5FE26245-6E99. Time: 2020/12/22 22:19:45') ==> (as called by) /xxx/includes/functions/functions_general.php on line 952 <== in /xxx/includes/classes/db/mysql/query_factory.php on line 171.[/FONT][/COLOR]
MySQL 5.7 mit MySQL Modus: STRICT_TRANS_TABLES
Der Bestellvorgang und die Zahlung mittels SOFORT funktionieren trotz PHP Error und es werden auch in die Tabelle orders_status_history die Einträge geschrieben und auch die orders_id wird richtig in die DB geschrieben, möchte das aber lösen.
Finde aber in diesem Fall leider keinen Ansatz in welcher php Datei zu suchen wäre um einen INT Wert entsprechend zu übergeben.
Bitte um Hilfe.
Kommentar