Support » Plugin: Donation Thermometer » legend shortcode is causing an error

  • Resolved rhap01234

    (@rhap01234)


    Hi,

    I’m really excited to use Donation Thermometer. The plugin looks great on my site. However, when I include “legend” in my shortcode, I get the following error: Warning: substr_count(): Empty substring in /home/imaikeli/public_html/wp-content/plugins/donation-thermometer/includes/therm_svg.php on line 125

    Here is the code I am using: [thermometer raised=500;0;0;0 target=1500;6000;12000;37000 legend=’Water Bill;Internet/Website;Electricity Bill;Rent (in future)’]

    Could this be easily fixed, or I’m I doing something wrong? Thank you so much!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rhewlif

    (@henryp)

    Hi,

    I’m glad to hear you’re enjoying the plugin 🙂
    It seems like this error will appear if the thousands separator is set to none; if you change this setting it should disappear. I will update this bug soon though.

    Cheers

    Plugin Author rhewlif

    (@henryp)

    Ok, try the latest plugin version 2.0.9

    Thread Starter rhap01234

    (@rhap01234)

    Wow, thank you so much! You are truly spectacular. Not only did you tell me how to fix it, but also provided an immediate update, and it works perfectly. You are really a man of your craft and your diligence and commitment really shines through. Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘legend shortcode is causing an error’ is closed to new replies.