Title: Parse error
Last modified: February 18, 2025

---

# Parse error

 *  Resolved [nomorephp](https://wordpress.org/support/users/nomorephp/)
 * (@nomorephp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/parse-error-566/)
 * Hello, After then last update released by weglot last week, I checked site was
   working but 4-5 days later people around me reported translation country tag 
   is not works, I checked and found problems at below. I also tried all kind of
   PHP models 8.x with nginx or opache etc.. nothing changed. I also deactivated
   all plugins but nothing changed. I reported to support and share logs, I’m pro
   user which I pay 300 euro/month just for get professional solution but this kind
   of problems are harming us. Still I’m waiting an answer from support. no update.
   
   Is there anyone lived similar problem?**Fatal error**: Uncaught Error: Class “\
   Weglot\Parser\Check\Dom\error_log” not found in /home/xxx/public_html/wp-content/
   plugins/weglot/vendor/weglot/weglot-php/src/Parser/Check/DomCheckerProvider.php:
   260 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/weglot/vendor/weglot/
   weglot-php/src/Parser/Parser.php(571): Weglot\Parser\Check\DomCheckerProvider-
   >handle(Object(WGSimpleHtmlDom\simple_html_dom)) #1 /home/xxx/public_html/wp-
   content/plugins/weglot/vendor/weglot/weglot-php/src/Parser/Parser.php(463): Weglot\
   Parser\Parser->checkers(Object(WGSimpleHtmlDom\simple_html_dom), ‘\n<!DOCTYPE
   html…’) #2 /home/xxx/public_html/wp-content/plugins/weglot/vendor/weglot/weglot-
   php/src/Parser/Parser.php(410): Weglot\Parser\Parser->parseHTML(‘\n<!DOCTYPE 
   html…’) #3 /home/xxx/public_html/wp-content/plugins/weglot/vendor/weglot/weglot-
   php/src/Parser/Parser.php(376): Weglot\Parser\Parser->parse(‘\n<!DOCTYPE html…’,
   Array) #4 /home/xxx/public_html/wp-content/plugins/weglot/src/services/class-
   translate-service-weglot.php(232): Weglot\Parser\Parser->translate(‘\n<!DOCTYPE
   html…’, ‘en’, ‘tr’, Array, ”) #5 [internal function]: WeglotWP\Services\Translate_Service_Weglot-
   >weglot_treat_page(‘\n<!DOCTYPE html…’, 9) #6 /home/xxx/public_html/wp-includes/
   functions.php(5464): ob_end_flush() #7 /home/xxx/public_html/wp-includes/class-
   wp-hook.php(324): wp_ob_end_flush_all(”) #8 /home/xxx/public_html/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #9 /home/xxx/public_html/
   wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/xxx/public_html/
   wp-includes/load.php(1279): do_action(‘shutdown’) #11 [internal function]: shutdown_action_hook()#
   12 {main} thrown in **/home/xxx/public_html/wp-content/plugins/weglot/vendor/
   weglot/weglot-php/src/Parser/Check/DomCheckerProvider.php** on line **260**I 
   also tried all obflush/noncache ways etc. no changes. This occured after last
   update. we have almost 1Million strings and it started to effect all customers,
   business and more…

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [nomorephp](https://wordpress.org/support/users/nomorephp/)
 * (@nomorephp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/parse-error-566/#post-18313114)
 * Just a small information, I updated some strings via SQL as a bulk. The update
   was only replace external link of some of buttons. we have 1000+ buttons on different
   pages as you know this is cronical WP based problems which editors are not focus
   logically and copy paste contents in page/post to keep design.
   I had to replace
   links and I just send update. is there any problem can occured at least there
   is no any POST update when we replace SQL strings If I remember and most of plugins
   are requests POST function for updates.Regards
 *  Plugin Contributor [Edson Galina Fortes](https://wordpress.org/support/users/glx77/)
 * (@glx77)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/parse-error-566/#post-18313760)
 * hi [@nomorephp](https://wordpress.org/support/users/nomorephp/) ,
   sorry for the
   issue your facing, we’ve identify the issue and it’s fixed on our last release
   planned for the next week. You can find it here : [https://we.tl/t-afOO0zxaqY](https://we.tl/t-afOO0zxaqY)
   don’t hesitate if you need more helpRegards
 *  Thread Starter [nomorephp](https://wordpress.org/support/users/nomorephp/)
 * (@nomorephp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/parse-error-566/#post-18313838)
 * Thank you for quick response. Gregoire from Weglot has fixed this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Parse error’ is closed to new replies.

 * ![](https://ps.w.org/weglot/assets/icon-256x256.gif?rev=3333666)
 * [Translate WordPress with Weglot - Multilingual AI Translation](https://wordpress.org/plugins/weglot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weglot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weglot/)
 * [Active Topics](https://wordpress.org/support/plugin/weglot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weglot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weglot/reviews/)

## Tags

 * [parser](https://wordpress.org/support/topic-tag/parser/)

 * 3 replies
 * 2 participants
 * Last reply from: [nomorephp](https://wordpress.org/support/users/nomorephp/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/parse-error-566/#post-18313838)
 * Status: resolved