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

Switch to production mode not possible after upgrade to Magento 2.2.4 #220

Closed
ghost opened this issue May 3, 2018 · 9 comments
Closed

Comments

@ghost
Copy link

ghost commented May 3, 2018

Preconditions
Magento 2.2.4
PHP 7.1
Ubuntu 17.04
Steps to reproduce
php bin/magento setup:di:compile

Expected result
Compilation complete
Actual result

error

LOG FILE:
main.CRITICAL: Source class "\amazonClient" for "amazonClientLogger" generation does not exist. {"exception":"[object] (RuntimeException(code: 0): Source class "\amazonClient" for "amazonClientLogger" generation does not exist. at /var/www/html/vendor/magento/framework/Code/Generator.php:185, RuntimeException(code: 0): Source class "\amazonClient" for "amazonClientLogger" generation does not exist. at /var/www/html/vendor/magento/framework/Code/Generator.php:185)"} []

Thank you in advance

@aholovan
Copy link
Contributor

Hi guys,
As a quick fix I was able to get it working without errors by renaming definitions to amazonClientLoggerHandler and amazonIpnLoggerHandler respectively but seems a roots of the issue more deeper.

@aredridel
Copy link

This is affecting us as well.

@MicheleBeargroup
Copy link
Contributor

Can you check to see which version of the Amazon Pay module you have? 2.2.4 now comes bundled with it and on composer update should give you version 2.0.7. I ran compile on both 7.0 and 7.1 and was not able to reproduce the issue with a clean updated 2.2.4 install (see images).

compilephp7 0
compilephp7 1

Also 2.0.7 is significantly different from 1.2.6 so it's possible if another version is overlapping the old one there might be conflicts.

@aredridel
Copy link

2.0.4 for me

@MicheleBeargroup
Copy link
Contributor

Are you able to try:

composer update

see if 2.0.7 comes over

if so, then do
php bin/magento setup:update

then run di compile?

@islandskater43
Copy link
Contributor

@aredridel - any chance you were able to follow Michele's recommendation?

@aredridel
Copy link

Will do shortly when I get a chance!

@islandskater43
Copy link
Contributor

Hi @aredridel - any chance you were able to take a look?

@lemked
Copy link
Contributor

lemked commented Jul 12, 2019

Closing due to missing feedback. Please re-open if problem persists.

@lemked lemked closed this as completed Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants