Hello guys,
I'm trying to implement the shopsystem by gesior
and you are displaying this error while selecting the item in the shop
error:
Fatal error: Uncaught Error: Call to a member function fetch() on bool in F:\xampp\htdocs\shopsystem\pot\OTS_Player.php:66 Stack trace: #0 F:\xampp\htdocs\shopsystem\pot\OTS_Base_List.php(199): OTS_Player->load('2') #1 F:\xampp\htdocs\shopsystem\shopsystem.php(209): OTS_Base_List->current() #2 F:\xampp\htdocs\shopsystem\index.php(56): include('F:\\xampp\\htdocs...') #3 {main} thrown in F:\xampp\htdocs\shopsystem\pot\OTS_Player.php on line 66
here is the code
I'm trying to implement the shopsystem by gesior
and you are displaying this error while selecting the item in the shop
error:
Fatal error: Uncaught Error: Call to a member function fetch() on bool in F:\xampp\htdocs\shopsystem\pot\OTS_Player.php:66 Stack trace: #0 F:\xampp\htdocs\shopsystem\pot\OTS_Base_List.php(199): OTS_Player->load('2') #1 F:\xampp\htdocs\shopsystem\shopsystem.php(209): OTS_Base_List->current() #2 F:\xampp\htdocs\shopsystem\index.php(56): include('F:\\xampp\\htdocs...') #3 {main} thrown in F:\xampp\htdocs\shopsystem\pot\OTS_Player.php on line 66
here is the code