Unlimited Addons for WPBakery Page Builder

"Edit Page" breaks when unlimited plugin turned on

Big Description:

When you go to "edit page" view, and the "unlimited addons" plugin is enabled, the page is not loaded.

Why it may happend:

WPBakery Page Builder produce very big json string with the defenitions of all the addons. If there are big amount of addons it can reaach up to 1.2MB. 

Some servers has configuration that not allow this like output.

How you test that it's the issue

1. Make sure you have the latest version of unlimited addons plugin (1.0.12 and up).

2. Go to General Settings => Troubleshooting => Overload Test => and press on the button "Run Test"

The success test should look like this: 

If you don't see this picture, then you know that it's the current bug.

How to solve this bug: 

Please contact your server provider, show them the test, and tell them to update those settings:

SubstituteMaxLineLength and LimitRequestBody 

it should fix the issue.

for example add this line of code: 

SubstituteMaxLineLength 10M

or add to htaccess this code: 

<IfModule mod_substitute.c> SubstituteMaxLineLength 10M </IfModule>


Right after these pre-existing lines:

# BEGIN WordPress
<IfModule mod_rewrite.c>

Please tell them to run this test after they fix to make sure it's fixed. 


How to talk with server support:

In order to talk effectively with the server support you can give them this simple php test file. This file should run successfully after the fix their bug. It's running on all the servers, it's very simple file, that puts 1MB string on html page. When they fix their part, you can ask them what they did, and help us to update this article. 

------------------- test.php --------------------------

bug test, of big string, size: 

$size = 1200000;

$strData = "this is text";
while(strlen($strData) < $size){
$strData .= "this is text";
}

echo(strlen($strData)."

");

echo $strData;
exit();

?>



the test success!!!