grusch-it / isotope_payment_sepa

Contao Isotope SEPA payment module
1 stars 2 forks source link

Contao 4x #5

Open Frank15Bromisch opened 5 years ago

Frank15Bromisch commented 5 years ago

Hi, wird die Erweiterung auch für Contao4x entwickelt. Teilweise konnte ich sie installieren, es gibt nur einen kleinen Bug beim Formular.

srhinow commented 5 years ago

Es gibt mehrere Bugs mit PHP7.2 und Contao4.4.36: Ganz zum Schluss nachdem die Bankdaten eingegeben wurden und das Formular gesendet wird kommt erst folgender Fehler:

[2019-04-01 21:22:48] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\UndefinedFunctionException(code: 0): Attempted to call function \"bcmod\" from namespace \"Gruschit\". at /var/www/s/projectname/contao4/system/modules/isotope_payment_sepa/classes/SepaValidator.php:267)"} []
[2019-04-01 21:26:28] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"kasse/process","_route":"contao_frontend"},"request_uri":"http://projectnamemed-c4.local/kasse/process.html","method":"POST"} []

und folgender Fehler:

[2019-04-01 21:26:29] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Error: Gruschit\\SepaCheckoutForm::remember(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Gruschit\\SepaPaymentBag" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition at /var/www/s/projectname/contao4/system/modules/isotope_payment_sepa/classes/SepaCheckoutForm.php:176)"} []

hast du da nen Tipp wie man das beheben kann?

srhinow commented 5 years ago

Das erste hat sich erledigt wenn die PHP-Erweiterung 'bcmath' installiert ist. Außerdem verlangt die Erweiterung max PHP 7.1 da mcrypt eingesetzt wird und ab 7.2 nicht mehr mit ausgeliefert wird.

Was ich aber absolut nicht lösen kann ist folgendes: Warning: Class __PHP_Incomplete_Class has no unserializer