The message (as far as I can tell) refers to the following:
public function getDatos($sql){
$datos = $this->bd->prepare($sql);
And it is telling you that the variable bd has not been initialised.
Create The Best Website Now. Powerful eCommerce Tools. Responsive Website Design. Website Localization. Build In Under 1 Day. 24/7 Free Support. Visit us: IT SOLUTIONS