Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Call to undefined method DOMText::getElementsByTagName() in C:\xampp\htdocs\wordpress\wp-content\plugins\bbp-imp-gg\bbp-import-google-group.php:139 #1

Open
heenawebexpert opened this issue Dec 8, 2020 · 0 comments

Comments

@heenawebexpert
Copy link

heenawebexpert commented Dec 8, 2020

Hi,
I found issue while importing google group discussions.
The issue is caused by:
on line 97

// Get the rows
$rows = $tables->item(0)->childNodes;

the solution I used is by just replaceing the childNodes with getElementsByTagName('tr')

Problem is, childNodes includes the whitespace text nodes between each tag.

you can also check: [https://stackoverflow.com/questions/33294750/php-fatal-error-on-specific-php-installation-call-to-undefined-method-domtext]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant