Skip to content

Conversation

@redelschaap
Copy link
Contributor

Got the following error:

PHP Fatal error: Class 'Magento\Braintree\Controller\Paypal\AbstractAction' not found in [base_path]/vendor/magento/module-braintree/Controller/PayPal/Review.php on line 18

Got the following error:

PHP Fatal error:  Class 'Magento\Braintree\Controller\Paypal\AbstractAction' not found in [base_path]/vendor/magento/module-braintree/Controller/PayPal/Review.php on line 18
@okorshenko
Copy link
Contributor

Hi @redelschaap
Looking at the code I would say everything is correct:
Class \Magento\Braintree\Controller\Paypal\AbstractAction is located in ./app/code/Magento/Braintree/Controller/Paypal/AbstractAction.php

Class \Magento\Braintree\Controller\Paypal\Review is located in ./app/code/Magento/Braintree/Controller/Paypal/Review.php

Paypal word is used correctly everywhere.

Could you please provide information how we can reproduce the issue?

Thank you

@redelschaap
Copy link
Contributor Author

This is very strange... Here I have two M2 websites. One of them has folder structure vendor/magento/module-braintree/Controller/Paypal/, one of them has folder structure vendor/magento/module-braintree/Controller/PayPal/. Both are now on version 2.1.7; the last one has just been updated from 2.0.5.

@okorshenko
Copy link
Contributor

Looks like this is upgrade issue. Closing this PR. There is nothing to fix in develop branch.

2.0: Directory name: PayPal
2.1-develop: Directory name: Paypal
develop: Directory name: Paypal

Thank you

@okorshenko okorshenko closed this Jun 29, 2017
@okorshenko okorshenko self-assigned this Jun 29, 2017
@okorshenko okorshenko added this to the June 2017 milestone Jun 29, 2017
@redelschaap redelschaap deleted the patch-2 branch June 29, 2017 15:59
magento-devops-reposync-svc pushed a commit that referenced this pull request Oct 14, 2025
ACP2E-4018: CE copyright updates for 2.4.9-alpha3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants