This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

vantage: php error in add_css

Resolved 2 replies bug-reportthemetheme-vantage
9 years ago · Last reply by jjfoerch 9 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Alex S Staff 9 years, 13 hours ago

    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. jjfoerch 9 years, 5 hours ago

    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.

Have a different question or issue?

Start New Thread