Fatal error: Uncaught Error: Call to a member function getSampleCatId() on null in /home/writing/public_html/sample_category.php:39 Stack trace: #0 {main} thrown in /home/writing/public_html/sample_category.php on line 39