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

Error in latest version 1.26 - Compile #396

Closed
JelleGe opened this issue Jun 8, 2021 · 7 comments
Closed

Error in latest version 1.26 - Compile #396

JelleGe opened this issue Jun 8, 2021 · 7 comments
Labels
Investigating We are working on this issue together with the customer.

Comments

@JelleGe
Copy link

JelleGe commented Jun 8, 2021

Describe the bug
Compilation was started.
Repositories code generation... 1/9 [===>------------------------] 11% 1 sec 72.0 MiBPHP Fatal error: Uncaught Error: Interface 'Magento\QuoteGraphQl\Model\Cart\Payment\AdditionalDataProviderInterface' not found in /vendor/mollie/magento2/GraphQL/DataProvider.php:10
Stack trace:
#0 /vendor/composer/ClassLoader.php(480): include()
#1 /vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/d...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Mollie\Payment\...')
#3 [internal function]: spl_autoload_call('Mollie\Payment\...')
#4 /setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(134): class_exists('Mollie\Payment\...')
#5 /setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->includeClass('Mollie\Payment\...', '/home/d...')
#6 /home//re in /vendor/mollie/magento2/GraphQL/DataProvider.php on line 10

Used versions

  • Magento Version number(eg 2.3.5): 2.4.2
  • Open source/Enterprise/B2b: Open source
  • Mollie version number (Check configuration):

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior
A clear and concise description of what actually happens.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@michielgerritsen
Copy link
Collaborator

Hello @JelleGe,

Thanks for opening this issue. Do you happen to have "composer replaced" the GraphQL modules one way or another? This class should be present in 2.4.2:
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/QuoteGraphQl/Model/Cart/Payment/AdditionalDataProviderInterface.php

@Frank-Magmodules Frank-Magmodules added the Investigating We are working on this issue together with the customer. label Jun 9, 2021
@JelleGe
Copy link
Author

JelleGe commented Jun 9, 2021

Hello @michielgerritsen,

Yes, we did entirely remove the GraphQL modules, to speed up Magento 2, because we do not use it.
Is there a way to update the module and skip this part, if GraphQL is not installed?

@Frank-Magmodules
Copy link
Collaborator

HI @JelleGe ,

Ah, that makes sense then. We will discuss this internally to find the best way on how to solve this issue in your case. I will get back to you in the short term.

@JustinElst
Copy link

I have the same issue & reasoning of not using GraphQL

@Frank-Magmodules
Copy link
Collaborator

Hi @JelleGe,

We are happy to share that we've just released the new 1.26.1 version with a fix for this issue. Thank you again for the detailed issue report. We are closing this issue now but please feel free to reopen the issue if this still occurs.

@JelleGe
Copy link
Author

JelleGe commented Jun 26, 2021

Error is back in version 1.27

@Frank-Magmodules
Copy link
Collaborator

@JelleGe: What is the exact error? Is this the same as in the first post, or is there a different one? The fix for this has a change in the composer.json, did you install the Mollie extension using Composer or did you use a different method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigating We are working on this issue together with the customer.
Projects
None yet
Development

No branches or pull requests

4 participants