Title: Give Plugin Warning: Illegal string offset issue
Last modified: May 6, 2024

---

# Give Plugin Warning: Illegal string offset issue

 *  Resolved [jgoethel](https://wordpress.org/support/users/jgoethel/)
 * (@jgoethel)
 * [2 years ago](https://wordpress.org/support/topic/give-plugin-warning-illegal-string-offset-issue/)
 * Hello,
 * I’m having an issue using the give plugin block. It looks great but for some 
   reason when I go to publish the page it adds a warning text onto the main page
   that I cannot get rid of.
 * “**Warning**: Illegal string offset ‘recaptcha_v2_enable’ in **/home/customer/
   www/goethelbrothersmedical.com/public_html/wp-content/plugins/donation-block-
   for-stripe-by-givewp/src/DonationBlock.php** on line **82**“
 * Please help me get rid of this. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgive-plugin-warning-illegal-string-offset-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years ago](https://wordpress.org/support/topic/give-plugin-warning-illegal-string-offset-issue/#post-17754156)
 * Hi, [@jgoethel](https://wordpress.org/support/users/jgoethel/).
 * I’m glad you reached out. I can certainly help you.
 * Warning messages like this display when your site has “Debug Mode” turned on.
   Debug mode is a method for developers to use to find issues in their code and
   compatibility problems with different versions of PHP (the server language WordPress
   uses). Debug mode is usually only used on development sites or non-live sites.
 * In the meantime while you get the problem resolved, here’s how you can hide those
   warnings: in your wp-config.php file (which you can get to via SFTP or through
   your web host’s file manager) look for a line like this:
 * define(‘WP_DEBUG’, true);
 * Replace it with the following lines:
 * define(‘WP_DEBUG’, true);
   define(‘WP_DEBUG_LOG’, true);define(‘WP_DEBUG_DISPLAY’,
   false);@ini_set(‘display_errors’, 0);
 * Again, this method is normally only used for development, not on live sites.
 * If you need assistance with that, your web host should be able to help. Also,
   there is some official documentation on that: [https://codex.wordpress.org/WP_DEBUG](https://codex.wordpress.org/WP_DEBUG)
 * Feel free to reach out to us if you have any further inquiries or require additional
   assistance. We’re always happy to help!

Viewing 1 replies (of 1 total)

The topic ‘Give Plugin Warning: Illegal string offset issue’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/give-plugin-warning-illegal-string-offset-issue/#post-17754156)
 * Status: resolved