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

Class 'craft\\commerce\\controllers\\Plugin' not found (develop branch) #843

Closed
echantigny opened this issue May 6, 2019 · 1 comment
Closed

Comments

@echantigny
Copy link
Contributor

Description

I'm currently testing the dev-develop branch for the persistant cart addition. Unfortunately, I'm running into an issue adding items to my cart with AJAX now, the exact same way I always did, which works with the latest release too.

Posting these to the root of my site:

action: commerce/cart/update-cart
purchasableId: 547 (any item does the same)

The response I get is {"error":"Class 'craft\\commerce\\controllers\\Plugin' not found"}

If I look at the cart after, the item is in there.

Additional info

  • Craft version: Craft Pro 3.1.25
  • PHP version: 7.2.4
  • Database driver & version: MySQL 5.7.21
  • Plugins & versions:

Cookies 1.1.11
Craft Commerce dev-develop (f4fe1f7)
Element API 2.5.4
Feed Me 4.1.0
Many to Many Field Type dev-master
Redactor 2.3.3.2

@echantigny
Copy link
Contributor Author

@brandonkelly @lukeholder
This is still true on 2.1.5. There is a breaking change somewhere in there.

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

1 participant