{"id":3950,"date":"2018-01-20T15:30:08","date_gmt":"2018-01-20T15:30:08","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-pdf-catalog\/?post_type=faq&#038;p=289"},"modified":"2020-07-30T11:14:47","modified_gmt":"2020-07-30T09:14:47","slug":"pcre-backtrack-limit","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/pcre-backtrack-limit\/","title":{"rendered":"The HTML code size is larger than pcre.backtrack_limit"},"content":{"rendered":"<p>If you get the issue message &#8220;The HTML code size is larger than pcre.backtrack_limit 1000000. You should use WriteHTML() with smaller string lengths.&#8221; you can try the following:<\/p>\n<ol>\n<li>activate &#8220;Split HTML into Chunks&#8221; in advanced settings<\/li>\n<li>increase the backtrack_limit within your php ini settings.<\/li>\n<\/ol>\n<p>If this did not help you may be able to increase the value of <a href=\"http:\/\/www.php.net\/manual\/en\/pcre.configuration.php#ini.pcre.backtrack-limit\" target=\"_blank\" rel=\"noopener\">pcre.backtrack_limit<\/a> at runtime if your system allows. <code class=\"highlighter-rouge\">pcre.backtrack_limit<\/code>\u00a0is configurable from PHP &gt;= 5.2.0<\/p>\n<p>The default value was increased from 100,000 to 1,000,000 from PHP &gt;= 5.3.7<\/p>\n<pre class=\"highlight\"><code>ini_set(\"pcre.backtrack_limit\", \"1000000\");<\/code><\/pre>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-3950","faq","type-faq","status-publish","hentry","faq_topics-pdf-catalog-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/3950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=3950"}],"version-history":[{"count":2,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/3950\/revisions"}],"predecessor-version":[{"id":5581,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/3950\/revisions\/5581"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=3950"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=3950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}