Blade file throwing "Call to undefined method DOMText::getAttribute"