Fatal error: Call to a member function getId() on null in /home/gaxle/public_html/app/code/local/Magazento/Gallery/Model/Layout.php on line 72