Home>Support>vantage: php error in add_css

vantage: php error in add_css

Hello, I’m seeing the following error with Vantage running on PHP 7.1.1:

<b>Fatal error</b>:  Uncaught Error: [] operator not supported for strings in /var/www/content/themes/vantage/inc/panels-lite/inc/css.php:27

The add_css procedure seems to initialize $attribute_string as a string, but treat it as an array. Not sure why it didn’t cause an error in earlier PHP versions.

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

  1. 7 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Jjfoerch,

    Thank you for reporting this. I’ve logged a pull request fix for this here. Can you please try it? To do this, download the updated version of css.php and replace your version with the new version.

  2. 7 years, 7 months ago jjfoerch

    Hello Alex,

    Thank you, yes, that patch resolves the issue.

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