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

Update features.php #5513

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update features.php #5513

wants to merge 2 commits into from

Conversation

isrgrajan
Copy link
Contributor

Added try catch to handle unexpected error throw while parsing html dom code

Added try catch to handle unexpected error throw while parsing html dom code
To ensure that $content is not empty before attempting to use DOMDocument::loadHTML(). This should prevent the "Argument ahmedkaludi#1 must not be empty" error from occurring.
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

Successfully merging this pull request may close these issues.

None yet

1 participant