Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m not the developer on this plugin – but one quick idea is to check your PHP version. What version are you running? Sometimes plugin updates add some code that’s incompatible with old versions of PHP.

    But lets wait to see what @iamadi has to say ??

    (Awesome plugin by the way. I’m still doing some testing, but I’m hoping to write a review soon)

    Thread Starter knireis

    (@knireis)

    i use 5.6

    Aaah, you shouldn’t have any problems in that area then. Hopefully @iamadi will have an answer.

    Plugin Author Adi Rao

    (@iamadi)

    Hi Greg.

    Thank you for chipping in. Still trying to wrap my head around why an error is popping up.

    All I did was add some new options to my blog widget and make necessary changes to the widgets less file.

    On updating the plugin the widget throws the following error

    Fatal error: Uncaught exception ‘Exception’ with message ‘parse error: failed at @btn-clr: ; line: 220’ in /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/inc/lessc.inc.php:3460 Stack trace: #0 /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/inc/lessc.inc.php(2273): lessc_parser->throwError() #1 /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/inc/lessc.inc.php(1795): lessc_parser->parse(‘??.so-widget-in…’) #2 /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php(629): lessc->compile(‘??.so-widget-in…’) #3 /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php(502): SiteOrigin_Widget->get_instance_css(Array) #4 /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php(193): SiteOrigin_Widget->save_css(Array) #5 /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/so-widgets-bundle.php(574): SiteOrigin_ in /home/content/38/8106138/html/wp-content/plugins/so-widgets-bundle/base/inc/lessc.inc.php on line 3460

    A quick way to get rid of the error is just save the widget again & update the post.

    Would be great if you could shed some light on the problem.

    Thanks.

    That looks like a problem with the LESS parsing. The problem being that @btn-clr: ; isn’t valid LESS.

    The solution here would be to make sure that whatever you’re substituting there is never an empty string. We have an update in version 1.5.4 of the Widgets Bundle that actually strips out any attributes with the value of default, so maybe that’s something you could use here.

    If you host your plugin over on GitHub, I’ll be able to submit a pull request to help fix this ??

    PS: If you get a second, can you send me an email? To [email protected] – I’d love to chat to you about doing some work with SiteOrigin if you’re interested.

    Plugin Author Adi Rao

    (@iamadi)

    The plugin at Github. Thanks for the help.

    Hi, I had problems on a few sites. I found by editing the widget it then worked, and when I edited again to work the way I wanted that worked as well. Just a little bug on update. Will be an issue if you are using it on 50 pages on 50 sites.

    Plugin Author Adi Rao

    (@iamadi)

    Hi Philip,

    Can you tell me which are the widgets that gave you problems? Also were there any error messages present?

    Plugin Author Adi Rao

    (@iamadi)

    Fixed this bug in latest update.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘update broke site’ is closed to new replies.