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

[-] CORE : Fix fatal error on classes/stock/StockAvailable.php (1.6) #5242

Merged
merged 1 commit into from May 18, 2016

Conversation

@xBorderie
Copy link
Contributor

commented Mar 23, 2016

Description

Inspired by this thread: https://www.prestashop.com/forums/topic/483630-bug-161-1-1612-classesstockstockavailablephp/

When the classes/stock/StockAvailable.php is left as is some products would cause the payment window to hang and the page will never redirect. I turned on developer mode to get this error.

Fatal error: Uncaught exception 'PrestaShopException' with message 'Property StockAvailable->id_product_attribute is empty'

See #5241 for the develop PR of this commit.
Also, see #4545 for a first PR attempting to fix this.

Forge Ticket (optional)

Fixes http://forge.prestashop.com/browse/PSCSX-6890

@xBorderie

This comment has been minimized.

Copy link
Contributor Author

commented May 10, 2016

Code was reviewed in #5241 by @maximebiloe.

@Shudrum Shudrum merged commit 1d51af1 into 1.6.1.x May 18, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@Shudrum

This comment has been minimized.

Copy link
Contributor

commented May 18, 2016

👍

@Quetzacoalt91 Quetzacoalt91 deleted the xBorderie-fixStock161x branch May 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.