Home>Support>Can’t use SiteOrigin widgets with Beaver Builder in Astra

Can’t use SiteOrigin widgets with Beaver Builder in Astra

Hi, I really like the widgets from SiteOrigin. I’ve been trying for 4 hours to get them working on my website but with no result. The php value should be fixed. See below message.

“The PHP config value max_input_vars is only set to 1000. If you are using 3rd party addons this could very likely be the cause of this error. [doc link].”

I’ve set my .htacces file with the recomended setting “php_value max_input_vars 5000”

Without any succes. Did I do something wrong? My .htacces file is like this now:

#BEGIN Really Simple SSL LETS ENCRYPT
RewriteRule ^.well-known/(.*)$ – [L]
Header always set Strict-Transport-Security: “max-age=31536000” env=HTTPS
Header always set X-XSS-Protection “0”
Header always set X-Content-Type-Options “nosniff”
Header always set Referrer-Policy “strict-origin-when-cross-origin”
Header always set X-Frame-Options: “SAMEORIGIN”
Header always set Permissions-Policy: “”
#END Really Simple SSL LETS ENCRYPT

#Begin Really Simple Security

RewriteEngine on
RewriteCond %{HTTP:CF-Visitor} ‘”scheme”:”http”‘
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

#End Really Simple Security
# BEGIN WordPress
# De richtlijnen (regels) tussen “BEGIN WordPress” en “END WordPress” worden
# dynamisch gegenereerd en zouden alleen aangepast mogen worden via WordPress filters.
# Alle wijzigingen aan de richtlijnen tussen deze markeringen worden overschreven.

RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
# BEGIN Speed Optimizer by 10Web
# De richtlijnen (regels) tussen “BEGIN Speed Optimizer by 10Web” en “END Speed Optimizer by 10Web” worden
# dynamisch gegenereerd en zouden alleen aangepast mogen worden via WordPress filters.
# Alle wijzigingen aan de richtlijnen tussen deze markeringen worden overschreven.

RewriteEngine On

# Does browser explicitly support webp?
RewriteCond %{HTTP_USER_AGENT} Chrome [OR]
# OR Is request from Page Speed
RewriteCond %{HTTP_USER_AGENT} “Google Page Speed Insights” [OR]
# OR does this browser explicitly support webp
RewriteCond %{HTTP_ACCEPT} image/webp
# AND NOT MS EDGE 42/17 – doesnt work.
RewriteCond %{HTTP_USER_AGENT} !Edge/17
# AND is the request a jpg, png or gif?
RewriteCond %{REQUEST_URI} ^(.+).(?:jpe?g|png|gif)$
# AND does a .ext.webp image exist?
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.webp -f
# THEN send the webp image and set the env var webp
RewriteRule ^(.+)$ $1.webp [NC,T=image/webp,E=webp,L]

# If REDIRECT_webp env var exists, append Accept to the Vary header
Header append Vary Accept env=REDIRECT_webp

AddType image/webp .webp

# END Speed Optimizer by 10Web

# php_value memory_limit 256M
# php_value upload_max_filesize 64M
# php_value post_max_size 64M
# php_value max_execution_time 60
# php_value max_input_time 120
# php_value max_input_vars 5000

Please advise.

Thanks in advance!

Regards, Martijn

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 15 days, 9 hours ago Andrew Misplon Hi, I Work Here

    Hi Martijn

    Thanks for getting in touch.

    Please, try removing the hash prefixing php_value max_input_vars 5000,

    References:
    https://htaccessbook.com/commenting-your-htaccess-code/
    https://docs.wpbeaverbuilder.com/beaver-builder/troubleshooting/common-issues/exceeds-php-max-input-vars/

  2. 15 days, 9 hours ago MartijnSerlie

    Hi,Thanks for your reply!You mean delete the hashtacks? Like this picture?I did that already..  Did I do that correct?Regards Martijn

  3. 15 days, 9 hours ago Andrew Misplon Hi, I Work Here

    Hi Martijn

    Thanks for the update.

    The forum doesn’t support email attachments at this time.

    This line is commented out and will have no effect:

    # php_value max_input_vars 5000

    If you’d like to add the line in question, it should be added as:

    php_value max_input_vars 5000

    I’ve tested with Beaver Builder, Astra, and SiteOrigin Widgets. Unfortunately, I’m unable to recreate the error. It might be best to ask Beaver Builder if they have any further advice other than the help article from their site linked above.

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More