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

only running when WP_DEBUG_LOG is true #1

Closed
leonstafford opened this issue May 16, 2020 · 2 comments
Closed

only running when WP_DEBUG_LOG is true #1

leonstafford opened this issue May 16, 2020 · 2 comments

Comments

@leonstafford
Copy link
Contributor

leonstafford commented May 16, 2020

regardless of plugin's debug mode enabled or not

in WP's debug.log, we're seeing errors from the simple dom class


 170 [16-May-2020 03:00:21 UTC] PHP Warning:  preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /htdocs/wp-content/plugins/simplerstatic/vendor/sunra/php-simple-html-dom-parser     /Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 697


...

 272 [16-May-2020 03:01:50 UTC] PHP Warning:  preg_match(): Compilation failed: invalid range in character class at offset 4 in /htdocs/wp-content/plugins/simplerstatic/vendor/sunra/php-simple-html-dom-parser/Src     /Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1378


...

1554 [16-May-2020 03:11:32 UTC] PHP Warning:  Invalid argument supplied for foreach() in /htdocs/wp-content/plugins/simplerstatic/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simp     le_html_dom.php on line 704
@leonstafford leonstafford changed the title only running when WP_DEBUG_LOG is defined only running when WP_DEBUG_LOG is true May 16, 2020
@leonstafford
Copy link
Contributor Author

related sunra/php-simple-html-dom-parser#75

@leonstafford
Copy link
Contributor Author

closed by 5523e4b

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

No branches or pull requests

1 participant