Warning: Trying to access array offset on value of type bool in /home4/alexaol0/public_html/resources/php/gallery.php on line 25

Fatal error: Uncaught Error: Call to a member function xpath() on bool in /home4/alexaol0/public_html/resources/php/gallery.php:26 Stack trace: #0 /home4/alexaol0/public_html/index.php(67): Gallery->load(Array, Object(DOMElement)) #1 {main} thrown in /home4/alexaol0/public_html/resources/php/gallery.php on line 26