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

После переезда с хостинга на котором PHP 5.3.29 на PHP Version 5.3.3 #4

Open
Dayver opened this issue Mar 16, 2015 · 0 comments

Comments

@Dayver
Copy link

Dayver commented Mar 16, 2015

При попытке купить товара больше чем есть на складе вместо модального окна с соотв. сообщением выдает
PHP Fatal error: Call to undefined method Product::setError() in /..../modules/shop/models/Product.php on line 177

Не стал сильно разбираться где потерялся setError и почему не унаследован и как временное решение добавил в класс Product
public function setError($errorMsg){
//todo
}

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