Title: Multiple php warnings
Last modified: April 16, 2022

---

# Multiple php warnings

 *  [George](https://wordpress.org/support/users/giorgos93/)
 * (@giorgos93)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/multiple-php-warnings-2/)
 * Hi, in my error log there are multiple php warnings about your plugin (I have
   php 8.1 version). Here are unique warnings:
 *     ```
       1 - Constant HDOM_TYPE_ELEMENT already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 24
   
       2 - Constant HDOM_TYPE_COMMENT already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 25
   
       3 - Constant HDOM_TYPE_TEXT already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 26
   
       4 - Constant HDOM_TYPE_ENDTAG already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 27
   
       5 - Constant HDOM_TYPE_ROOT already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 28
   
       6 - Constant HDOM_TYPE_UNKNOWN already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 29
   
       7 - Constant HDOM_QUOTE_DOUBLE already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 30
   
       8 - Constant HDOM_QUOTE_SINGLE already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 31
   
       9 - Constant HDOM_QUOTE_NO already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 32
   
       10 - Constant HDOM_INFO_BEGIN already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 33
   
       11 - Constant HDOM_INFO_END already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 34
   
       12 - Constant HDOM_INFO_QUOTE already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 35
   
       13 - Constant HDOM_INFO_SPACE already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 36
   
       14 - Constant HDOM_INFO_TEXT already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 37
   
       15 - Constant HDOM_INFO_INNER already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 38
   
       16 - Constant HDOM_INFO_OUTER already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 39
   
       17 - Constant HDOM_INFO_ENDSPACE already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 40
   
       18 - Constant HDOM_SMARTY_AS_TEXT already defined in /wp-content/plugins/responsive-lightbox/library/simplehtmldom/simple_html_dom.php on line 46
       ```
   
 * I hope, you can fix them. Thanks in advance!
    -  This topic was modified 3 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 3 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-php-warnings-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Multiple php warnings’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [George](https://wordpress.org/support/users/giorgos93/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/multiple-php-warnings-2/)
 * Status: not resolved