Title: Error code when using shortcode
Last modified: June 11, 2018

---

# Error code when using shortcode

 *  Resolved [annealex](https://wordpress.org/support/users/annealex/)
 * (@annealex)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/)
 * Whenever I use the short code: [wpedon id=221]
 * I get this:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/susangab/public_html/climateandeconomy.com/wp-content/plugins/easy-paypal-
   donation/includes/public_shortcode.php:413) in /home/susangab/public_html/climateandeconomy.
   com/wp-content/themes/Divi/includes/builder/functions.php on line 2491
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/susangab/public_html/climateandeconomy.com/wp-content/plugins/easy-paypal-
   donation/includes/public_shortcode.php:413) in /home/susangab/public_html/climateandeconomy.
   com/wp-content/themes/Divi/includes/builder/functions.php on line 2493
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/susangab/public_html/climateandeconomy.com/wp-content/plugins/easy-paypal-
   donation/includes/public_shortcode.php:413) in /home/susangab/public_html/climateandeconomy.
   com/wp-admin/post.php on line 198
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/susangab/public_html/climateandeconomy.com/wp-content/plugins/easy-paypal-
   donation/includes/public_shortcode.php:413) in /home/susangab/public_html/climateandeconomy.
   com/wp-includes/pluggable.php on line 1216
 * The paypal donation button DOES show and work – but those error messages are 
   concerning me. Any advice on how to fix this? Many thanks!!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-code-when-using-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10389244)
 * Do you know what version of PHP your site is running? I think that may be causing
   the problem. The plugin requires at least PHP 5.6 or higher. Ideally 7.2 which
   is the newest version.
 * You can check using this plugin: [https://wordpress.org/plugins/wordpress-php-info/](https://wordpress.org/plugins/wordpress-php-info/)
 *  Thread Starter [annealex](https://wordpress.org/support/users/annealex/)
 * (@annealex)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10391689)
 * Thanks, Scott. It wasn’t designated in my cPanel, but I set it for the latest
   = 7.2.5, updated everything, and it’s still happening. 🙁 ANy other ideas?
 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10392449)
 * It looks like this maybe somehow related to using Divi Builder.
 * If you try not using the shortcode in Divi Builder, do you still get the same
   error?
 *  Thread Starter [annealex](https://wordpress.org/support/users/annealex/)
 * (@annealex)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10392586)
 * I agree it may have something to do with the Divi theme, but, yes, it still happens
   even when NOT using the Divi builder.
 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10392714)
 * I just released version 1.2.9 of the plugin. I think it will fix this issue. 
   Please let me know.
 *  Thread Starter [annealex](https://wordpress.org/support/users/annealex/)
 * (@annealex)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10392938)
 * Yes! It’s fine now! Thank you!

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

The topic ‘Error code when using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/easy-paypal-donation/assets/icon-256x256.png?rev=3095887)
 * [Accept Donations with PayPal & Stripe](https://wordpress.org/plugins/easy-paypal-donation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-paypal-donation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-paypal-donation/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-paypal-donation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-paypal-donation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-paypal-donation/reviews/)

## Tags

 * [cannot modify header](https://wordpress.org/support/topic-tag/cannot-modify-header/)

 * 6 replies
 * 2 participants
 * Last reply from: [annealex](https://wordpress.org/support/users/annealex/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/error-code-when-using-shortcode/#post-10392938)
 * Status: resolved