Resource not implemmented

\n Fatal error: Call to a member function generate_rec() on null in /volume1/web/infovisgc/printRec.php on line 96