Skip to content

Fix null value assignment for tag attributes in getAttributes method #330

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Matt3o12
Copy link

@Matt3o12 Matt3o12 commented Jun 1, 2025

My script often crashes with the error:

PHP Warning: Undefined variable $attributeDTO in /app/backend/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Dom/Tag.php on line 335

This PR should fix this.

@Matt3o12 Matt3o12 marked this pull request as ready for review June 1, 2025 15:03
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.

1 participant