• Resolved MARKONEX

    (@markonex)


    If the user is not logged in, an error shows for the [wlt-bmi] shortcode as:

    Undefined index: suppress-errors in /home/wellnessweightma/public_html/wellnesscoach.ie/design/coach-cont/plugins/weight-loss-tracker/pro-features/plus/harris.benedict.php on line 175

    I have looked at the relevant file and can see that the suppress-error index is undefined.

    Can you please advise as I don’t want to change the code in case future updates to the plugin overwrite the code.

    Thanks in advance

    • This topic was modified 7 years, 1 month ago by MARKONEX.

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

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

    (@aliakro)

    Hi there,

    Thanks for reporting this… I will change the line to this:

    
    if(true === empty($calorie_intake) && false === empty($arguments['error-message'])) {
    

    I’ll do a deploy over the next days to fix it ??

    Cheers,

    Al

    Thread Starter MARKONEX

    (@markonex)

    Hi Al,

    Thanks for that.

    Great plugin by the way.

    Cheers,

    Owen

    Plugin Author YeKen

    (@aliakro)

    Cheers Owen.

    I have included the bug fix in the soon to be released 5.1.12.

    Thanks again,
    Al

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suppress Error when not Logged In’ is closed to new replies.