Fatal error: Uncaught Error: Call to a member function toArray() on bool in /home/spitalcftm/public_html/application/models/legislatiemodel.php:21 Stack trace: #0 /home/spitalcftm/public_html/application/controllers/legislatie.php(34): LegislatieModel->getLege('lege-nr-95-din-...') #1 /home/spitalcftm/public_html/application/core/router.php(68): LegislatieController->detaliu('lege-nr-95-din-...') #2 /home/spitalcftm/public_html/index.php(95): Router::dispatch() #3 {main} thrown in /home/spitalcftm/public_html/application/models/legislatiemodel.php on line 21