Title: [Plugin: Donation Can] Errors when clicking donate button
Last modified: August 19, 2016

---

# [Plugin: Donation Can] Errors when clicking donate button

 *  [DragonApps](https://wordpress.org/support/users/zothecula/)
 * (@zothecula)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-donation-can-errors-when-clicking-donate-button/)
 * I get the following errors when trying to use this plugin, I click the donate
   button and I get a page with this code below and then it goes to the paypal page:
 * Warning: fopen(/home/god3ndv/public_html/wp-content/plugins/donation-can/model/../
   log) [function.fopen]: failed to open stream: Permission denied in /home/god3ndv/
   public_html/wp-content/plugins/donation-can/model/data.php on line 357
 * Warning: fwrite(): supplied argument is not a valid stream resource in /home/
   god3ndv/public_html/wp-content/plugins/donation-can/model/data.php on line 359
 * Warning: fclose(): supplied argument is not a valid stream resource in /home/
   god3ndv/public_html/wp-content/plugins/donation-can/model/data.php on line 360
 * Warning: fopen(/home/god3ndv/public_html/wp-content/plugins/donation-can/model/../
   log) [function.fopen]: failed to open stream: Permission denied in /home/god3ndv/
   public_html/wp-content/plugins/donation-can/model/data.php on line 357
 * Warning: fwrite(): supplied argument is not a valid stream resource in /home/
   god3ndv/public_html/wp-content/plugins/donation-can/model/data.php on line 359
 * Warning: fclose(): supplied argument is not a valid stream resource in /home/
   god3ndv/public_html/wp-content/plugins/donation-can/model/data.php on line 360
 * [http://wordpress.org/extend/plugins/donation-can/](http://wordpress.org/extend/plugins/donation-can/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [DragonApps](https://wordpress.org/support/users/zothecula/)
 * (@zothecula)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-donation-can-errors-when-clicking-donate-button/#post-2066012)
 * Bump, can anyone offer any help? Please?
 *  Plugin Author [Jarkko Laine](https://wordpress.org/support/users/jarkkolaine/)
 * (@jarkkolaine)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-donation-can-errors-when-clicking-donate-button/#post-2066086)
 * Hi zothecula,
 * Sorry for the very late response. What you are seeing is Donation Can trying 
   to write a log file (but doesn’t have the permissions to do so).
 * If you upgrade Donation Can to 1.5.5 (released today), it comes with an option
   to enable/disable logging (defaults to disabled). So, that should fix the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Donation Can] Errors when clicking donate button’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/donation-can.svg)
 * [Donation Can](https://wordpress.org/plugins/donation-can/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/donation-can/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/donation-can/)
 * [Active Topics](https://wordpress.org/support/plugin/donation-can/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/donation-can/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/donation-can/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jarkko Laine](https://wordpress.org/support/users/jarkkolaine/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-donation-can-errors-when-clicking-donate-button/#post-2066086)
 * Status: not resolved