Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method isRequestStateApplicable() #22

Open
qx54 opened this issue Oct 15, 2024 · 2 comments
Open

Call to undefined method isRequestStateApplicable() #22

qx54 opened this issue Oct 15, 2024 · 2 comments

Comments

@qx54
Copy link

qx54 commented Oct 15, 2024

Shopware Version: 6.6.2
Wallee extension: 6.1.8

The Shopware log gets filled with the following critical PHP errors and exceptions:

[2024-10-15T08:04:52.359941+00:00] php.CRITICAL: Uncaught Error: Call to undefined method CwbWalleePayment6\Core\Api\WebHooks\Strategy\WebHookPaymentMethodConfigurationStrategy::isRequestStateApplicable() {"exception":"[object] (Error(code: 0): Call to undefined method CwbWalleePayment6\\Core\\Api\\WebHooks\\Strategy\\WebHookPaymentMethodConfigurationStrategy::isRequestStateApplicable() at /home/ploi/www.meinshop.ch/custom/plugins/CwbWalleePayment6/src/Core/Api/WebHooks/Strategy/WebHookStrategyManager.php:110)"} []
[2024-10-15T08:04:52.365451+00:00] php.CRITICAL: Uncaught Error: Call to undefined method CwbWalleePayment6\Core\Api\WebHooks\Strategy\WebHookPaymentMethodConfigurationStrategy::isRequestStateApplicable() {"exception":"[object] (Error(code: 0): Call to undefined method CwbWalleePayment6\\Core\\Api\\WebHooks\\Strategy\\WebHookPaymentMethodConfigurationStrategy::isRequestStateApplicable() at /home/ploi/www.meinshop.ch/custom/plugins/CwbWalleePayment6/src/Core/Api/WebHooks/Strategy/WebHookStrategyManager.php:110)"} []
[2024-10-15T08:04:52.474049+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "isRequestStateApplicable" of class "CwbWalleePayment6\Core\Api\WebHooks\Strategy\WebHookPaymentMethodConfigurationStrategy"." at WebHookStrategyManager.php line 110 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"isRequestStateApplicable\" of class \"CwbWalleePayment6\\Core\\Api\\WebHooks\\Strategy\\WebHookPaymentMethodConfigurationStrategy\". at /home/ploi/www.meinshop.ch/custom/plugins/CwbWalleePayment6/src/Core/Api/WebHooks/Strategy/WebHookStrategyManager.php:110)"} []
[2024-10-15T08:04:52.481429+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "isRequestStateApplicable" of class "CwbWalleePayment6\Core\Api\WebHooks\Strategy\WebHookPaymentMethodConfigurationStrategy"." at WebHookStrategyManager.php line 110 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"isRequestStateApplicable\" of class \"CwbWalleePayment6\\Core\\Api\\WebHooks\\Strategy\\WebHookPaymentMethodConfigurationStrategy\". at /home/ploi/www.meinshop.ch/custom/plugins/CwbWalleePayment6/src/Core/Api/WebHooks/Strategy/WebHookStrategyManager.php:110)"} []

The folder src/Core/Api/WebHooks/Strategy/ and its files was added in release 6.1.8 whereas the release 6.1.7 didn't contain this code. Looks like the error was introduced with that release.

Any chance for a quick fix? Thanks

@leanderpfleghard
Copy link

Hello @qx54

Thank you for your message and for bringing this to our attention. In order to investigate this issue further, we would need more details about your Wallee account and the specific configuration you’re using.

Could you please send an email to [email protected] with your wallee account details and include my name in the message? I’ll make sure to review the situation personally and get back to you as soon as possible.

Thank you for your cooperation, and we look forward to resolving this issue for you.

Best regards,
Leander from wallee

@qx54
Copy link
Author

qx54 commented Oct 17, 2024

Hi @leanderpfleghard

I also sent this two days ago to [email protected] and a ticket has been created with the ID 319753.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants