ข้ามการนำทาง

Open

Topic Tags: Compatibility

Overview of the issue

When the LiteSpeed Cache plugin’s Edge Side Includes (ESI) feature is enabled, the WPML Tools tab in Translation Management fails to load. This issue triggers a browser console error:

?wpml-app=ate-widget&ver=4.6.11:5 Uncaught SyntaxError: Invalid or unexpected token (at ?wpml-app=ate-widget&ver=4.6.11:5:3152)

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/plugins/litespeed-cache/src/core.cls.php file.
  • Look for line 720.
  • Replace:
      $this->_footer_comment .= "\n<!-- " . $data . ' -->';
    
  • With:
      $this->_footer_comment .= "<!-- " . $data . ' -->';
    

ทิ้งคำตอบไว้

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

คุณสามารถใช้แท็กเหล่านี้:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>