• Resolved Agus Salim

    (@agus6salim)


    Please help me
    I want to add donor wall in a page. But i got this error message “Warning: A non-numeric value encountered in /home/maarif/public_html/donasi-ppdm/wp-content/plugins/give/includes/donors/class-give-donor-stats.php on line 109
    Rp20,000”.

    And this is line 109

    				$donated_amount += (float) give_maybe_sanitize_amount( $formatted_amount, array( 'currency' => $currency_code  ) );
    			}
    		}

    Thank You

    https://donasi.maarif-sintang.org/daftar-donatur/

    • This topic was modified 6 years, 3 months ago by Agus Salim.
    • This topic was modified 6 years, 3 months ago by Agus Salim.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Agus Salim

    (@agus6salim)

    [Solved] remove + after _amount
    it will be like this

    $donated_amount = (float) give_maybe_sanitize_amount( $formatted_amount, array( 'currency' => $currency_code  ) );
    			}
    		}
    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Thanks for your update. Please keep in mind that you don’t want to change the files of the plugin in any way because you’ll lose those changes at the next update. We had a couple minor issues with donor wall that we resolved in recent minor releases so ideally this is already resolved for you in our latest release. Let us know if you have any further trouble at all.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: A non-numeric value encountered on line’ is closed to new replies.