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.
Need fast email support? Get SiteOrigin Premium
Replies
2Hi 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.
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.