When I try to export inventory list in PDF I get the message "The HTML code size is larger than pcre.backtrack_limit 1000000. You should use WriteHTML() with smaller string lengths."
I read a bit about ini_set to "pcre.backtrack_limit", "5000000" but for some reason it didn't work.
WP specs:
WP memory limit 256MB
PHP version: 5.6.30
PHP time limit 30
PHP max input vars 1000
wocommerce version 3.4.5
woocommerce database 3.3.5 (Size 23MB )
I have the option to upgrade to PHP 7.2, not sure if that would solve it, but then I'm not sure if changing PHP will affect other aspects of the website.
If you can please guide me through.
Thank you!