{"id":12197914,"date":"2019-12-02T19:21:32","date_gmt":"2019-12-02T19:21:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/syntax-code-error-litespeed-and-another-plugin\/"},"modified":"2019-12-02T19:21:32","modified_gmt":"2019-12-02T19:21:32","slug":"syntax-code-error-litespeed-and-another-plugin","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/syntax-code-error-litespeed-and-another-plugin\/","title":{"rendered":"Syntax Code Error LiteSpeed and Another Plugin"},"content":{"rendered":"<p>Hello,<\/p>\n<p>It looks like LiteSpeed is adding an additional line of code to a PHP file in one of our plugins.<\/p>\n<p>The line of code without LiteSpeed should look like this:<\/p>\n<p>$report = &#8220;&lt;html&gt;&lt;head&gt;&lt;title&gt;&#8221; . $subject . &#8220;&lt;\/title&gt;&lt;\/head&gt;&lt;body&gt;\\n&#8221;;<\/p>\n<p>But when LiteSpeed is activated it looks like this:<\/p>\n<p>$report = &#8220;&lt;html&gt;&lt;head&gt;&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text\/html; charset=utf-8&#8243;&gt;&lt;title&gt;&#8221; . $subject . &#8220;&lt;\/title&gt;&lt;\/head&gt;&lt;body&gt;\\n&#8221;;<\/p>\n<p>This creates a Syntax error for the plugin.<\/p>\n<p>Our report number is below:<\/p>\n<p>Report number: MVNEFTPF<\/p>\n","protected":false},"template":"","class_list":["post-12197914","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12197914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12197914\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12197914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}