דלג לתוכן דלג לסרגל הצד

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 . ' -->';
    

השאר תגובה

אנא הישאר בנושא והיה מכבד כלפי אחרים. אם אתה זקוק לעזרה בנושאים שאינם קשורים לפוסט זה, השתמש בפורום התמיכה שלנו כדי להתחיל צ'אט או לפתוח כרטיס.

אתה יכול להשתמש בתגיות אלה:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>