Ahojte,
mám plugin WP kde je na úvod kódu definované toto:
define('HDOM_TYPE_ELEMENT', 1);
define('HDOM_TYPE_COMMENT', 2);
define('HDOM_TYPE_TEXT', 3);
define('HDOM_TYPE_ENDTAG', 4);
define('HDOM_TYPE_ROOT', 5);
define('HDOM_TYPE_UNKNOWN', 6);
define('HDOM_QUOTE_DOUBLE', 0);
define('HDOM_QUOTE_SINGLE', 1);
define('HDOM_QUOTE_NO', 3);
define('HDOM_INFO_BEGIN', 0);
define('HDOM_INFO_END', 1);
define('HDOM_INFO_QUOTE', 2);
define('HDOM_INFO_SPACE', 3);
define('HDOM_INFO_TEXT', 4);
define('HDOM_INFO_INNER', 5);
define('HDOM_INFO_OUTER', 6);
define('HDOM_INFO_ENDSPACE',7);
a vg debug logu vyskakuje potom opakovane hlásenie php:
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_TYPE_ELEMENT already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 3
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_TYPE_COMMENT already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 4
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_TYPE_TEXT already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 5
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_TYPE_ENDTAG already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 6
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_TYPE_ROOT already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 7
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_TYPE_UNKNOWN already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 8
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_QUOTE_DOUBLE already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 9
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_QUOTE_SINGLE already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 10
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_QUOTE_NO already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 11
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_BEGIN already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 12
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_END already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 13
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_QUOTE already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 14
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_SPACE already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 15
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_TEXT already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 16
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_INNER already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 17
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_OUTER already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 18
[30-Jul-2019 13:57:16 UTC] PHP Notice: Constant HDOM_INFO_ENDSPACE already defined in /home/p***********osk/p***********o.sk/wp-content/plugins/gd-player/google-drive-api.php on line 19
ako to vyriešiť?