Home>Support>“No Bottom Margin” option for rows in PageBuilder throws an exception

“No Bottom Margin” option for rows in PageBuilder throws an exception

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

In PageBuilder 2.0.1, if you try to edit row (right side wrench | Edit Row), in the Row Styles panel on the right side of the popup, the Theme accordion says this:

No Bottom Margin
Fatal error: Call to undefined function boolval() in C:HostingSpacesthespirifillsixjars.compublic_htmlwp-contentpluginssiteorigin-panelsincstyles.php on line 175

So you can’t control the bottom margin checkbox.

This happens both for existing pages and pages created with the new version of PageBuilder (I thought it might be a legacy problem, but it happens for new stuff as well.)

The same error is thrown if you go through the live editor as well.

This new version of PageBuilder is really great! The ability to easily drop in CSS hooks is a great addition, and overall it is a much improved interface. Thanks!!!

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

  1. 10 years, 7 months ago Mark

    One additional comment: I suspect that, due to this error, there are additional “Theme” options that aren’t showing in the Theme accordion — I don’t see options for row background color, etc.

  2. 10 years, 7 months ago Greg Priday
    Hi, I Work Here

    Hi Mark

    Aaah, I realise what the problem is. We were using boolval function, which is only available in PHP 5.5+. Even though PHP 5.6 is the current version, most hosts are still using older versions of PHP (we try support all the way down to 5.2).

    I’ve replaced this in my development version. We’ll be releasing a fix for this in the next 48 hours. Sorry about that.

  3. 10 years, 7 months ago Mark

    Just installed 2.0.2 and it resolved this issue. Thank you!

  4. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Win. Glad that helped. All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More