Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Toppa

    (@toppa)

    Hi Shawn – it looks like your theme is passing its own data through the widget form, which is being received by Shashin as a shortcode attribute, and its one that it doesn’t recognize, so its throwing an error. I’ll add some handling for this in the next version, but if you want a quick fix and you’re comfortable editing code, open shashin/Public/ShashinShortcode.php, go to line 68 (inside the checkValidKeysAndAssign function) and comment out the “else” statement. That is, take this:

    else {
        throw New Exception(__('Invalid shortcode attribute: ', 'shashin') . htmlentities($k));
    }

    and change it to this:

    //else {
    //    throw New Exception(__('Invalid shortcode attribute: ', 'shashin') . htmlentities($k));
    //}

    Then it should just ignore the theme_widget_styles argument and proceed happily along.

    Thread Starter shawnwyatt

    (@shawnwyatt-1)

    Excellent!! It worked, awesome support. Donation sent. ??

    Plugin Author Mike Toppa

    (@toppa)

    Thanks Shawn – it’s appreciated!

    Thread Starter shawnwyatt

    (@shawnwyatt-1)

    Happy to see my issue fixed in a recent update. Or, at least I’m assuming it was as I upgraded.

    Plugin Author Mike Toppa

    (@toppa)

    Yessir, that was one of the fixes in this release.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Invalid shortcode attribute: theme_widget_styles’ is closed to new replies.