Parse error
-
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…
- You must be logged in to reply to this topic.