Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Fatal Error: Maximum execution time simple_html_dom.php

$
0
0

Replies: 0

Hi there,
I was trying your plugin for the first time and before using it on a live site I installed it in a local Xampp installation.
Every time I start to translate a new page Translate press starts scrapping the page and it hangs there returning a Fatal Error: Maximum execution time simple_html_dom.php on line 161. This seems to get stuck on the __destruct() function and timeout the thread.
After some research I found this error report that explaining how to work around this issue.
I modified my local translatePress source code to add the explicit clear call after all the objects created with TranslatePress\str_get_html are used and can be disposed and this fixed the issue. TranslatePress started to load/parse pages alot faster and error free.
Please fix this. Thanks.


Viewing all articles
Browse latest Browse all 59525

Trending Articles