Fatal error: Uncaught Error: Call to a member function getStock() on bool in /home/vodoley76/domains/vodoley.pro/public_html/classes/actions/BuyAction.php:18
Stack trace:
#0 /home/vodoley76/domains/vodoley.pro/public_html/classes/Main.php(18): BuyAction->doAction()
#1 /home/vodoley76/domains/vodoley.pro/public_html/index.php(12): Main::run()
#2 {main}
thrown in /home/vodoley76/domains/vodoley.pro/public_html/classes/actions/BuyAction.php on line 18