Hello,

I am getting the following error.

Fatal error: Class 'domDocument' not found in /home/aspire/public_html/sites/all/modules/embed_widgets/embed_widgets.module on line 518

Looks like a cool project

Thanks

Todd

Comments

jtsnow’s picture

Status: Active » Needs review

Thanks. I think this can be fixed by replacing 'domDocument' with 'DOMDocument'. I have committed a fix, please let me know if it works.

rana_krunal9’s picture

Title: Fatal error: Class 'domDocument' not found » Warning: domdocument::domdocument() expects at least 1 parameter

hello i am getting following Warning in drupal 7.14 and because of this content page is not visible at admin side ...
Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in filter_dom_load() (line 1047 of C:\wamp\www\drupla\modules\filter\filter.module)

jjsmyth1984’s picture

Priority: Normal » Critical

I am having the same issue as rana_krunal9. Just wondering does anybody know whats wrong or is there a fix?

I'd be really grateful for some advice at this time.

PHP Version: 5.2.1.1: Would this older version of PHP be the issue?

Thanks

krishnaveni.t’s picture

Thanks jjsmyth1984,
I also faced this problem in version 7 installation.
Your advice worked for me ..