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

PHP throws warning for missing LIBXML_HTML_NODEFDTD constant #4485

Closed
schlessera opened this issue Mar 31, 2020 · 0 comments · Fixed by #4486
Closed

PHP throws warning for missing LIBXML_HTML_NODEFDTD constant #4485

schlessera opened this issue Mar 31, 2020 · 0 comments · Fixed by #4486
Labels
Bug Something isn't working
Milestone

Comments

@schlessera
Copy link
Collaborator

Bug Description

From https://wordpress.org/support/topic/php-warning-use-of-undefined-constant-libxml_html_nodefdtd-assumed-libxml_h/ :

[31-Mar-2020 06:49:41 UTC] PHP Warning: Use of undefined constant LIBXML_HTML_NODEFDTD – assumed ‘LIBXML_HTML_NODEFDTD’ (this will throw an Error in a future version of PHP) in /home/xxx/public_html/wp-content/plugins/amp/vendor/ampproject/common/src/Dom/Document.php on line 393
[31-Mar-2020 06:49:41 UTC] PHP Warning: A non-numeric value encountered in /home/xxx/public_html/wp-content/plugins/amp/vendor/ampproject/common/src/Dom/Document.php on line 393

Expected Behaviour

No warnings should be thrown on supported PHP versions.

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

Additional context

  • WordPress version:
  • Plugin version:
  • Gutenberg plugin version (if applicable):
  • AMP plugin template mode:
  • PHP version:
  • OS:
  • Browser: [e.g. chrome, safari]
  • Device: [e.g. iPhone6]

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant