Call to undefined method DOMText::getAttribute()

undefined-method-domtext

Error Call to undefined method DOMText::getAttribute() … kemungkinan disebabkan karena ada beberapa tags yang tidak mendukung. seperti tag <tbody></tbody>.

Solution to solving this problem with using function str_replace(). below is the part of script you can try.

echo str_replace(array(“<tbody>”,”</tbody>”), “”, stripslashes($isi));

perhaps this can help you. thank you. wassalam…