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

PayPal Pro - Cannot redeclare class Website_Payments_Pro #1875

Closed
Noodleyman opened this Issue Feb 21, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@Noodleyman
Copy link

Noodleyman commented Feb 21, 2018

during test I found that sometimes whilst making multiple purchases PayPal pro fails with the error:

PHP Fatal error: Cannot redeclare class Website_Payments_Pro in /homepages/26/d406520087/htdocs/modules/plugins/PayPal_Pro/website_payments_pro.class.php on line 13

to reproduce, simply checkout once with PP Pro, then buy another item and checkout. The items also had discount codes applied, but I don't think that's part of the underlying issue.

@abrookbanks

This comment has been minimized.

Copy link
Member

abrookbanks commented Feb 21, 2018

I've never seen this. Are you sure there is no copy of the extensions like for example:

/modules/plugins/PayPal_Pro/
/modules/plugins/PayPal_Pro-old/
@Noodleyman

This comment has been minimized.

Copy link

Noodleyman commented Feb 21, 2018

I can confirm there is only one instance of the module installed.

@abrookbanks

This comment has been minimized.

Copy link
Member

abrookbanks commented Feb 21, 2018

Thanks I wanted to rule it out before spending an hour or more on this.

@abrookbanks abrookbanks added the bug label Feb 21, 2018

@abrookbanks

This comment has been minimized.

Copy link
Member

abrookbanks commented Feb 21, 2018

Fixed with 1.1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment