• Resolved paciente8159

    (@paciente8159)


    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.

    • This topic was modified 3 years, 8 months ago by paciente8159.
Viewing 1 replies (of 1 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    Thank you for let us know about this and for your proposed solution.
    I noticed our development team about this and they will investigate this, coming up with a solution in one of the future updates.

    Best Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error: Maximum execution time simple_html_dom.php’ is closed to new replies.