Title: Fatal errors
Last modified: July 25, 2023

---

# Fatal errors

 *  Resolved [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-91/)
 * After installing, and adding the block to a page, I then got a PHP fatal error
   both on that front-end page and on the page editor in the dashboard too. So the
   only way out of that was to de-activate. PHP 8.2.8, current plugin release as
   of today.
 *     ```wp-block-code
       PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in wp-content/plugins/donation-block-for-stripe-by-givewp/src/DonationBlock.php:82
       Stack trace:
       #0 wp-includes/class-wp-block.php(258): GiveDonationBlock\DonationBlock->renderBlock()
       #1 wp-includes/blocks.php(1072): WP_Block->render()
       #2 wp-includes/blocks.php(1110): render_block()
       #3 wp-includes/class-wp-hook.php(308): do_blocks()
       #4 wp-includes/plugin.php(205): WP_Hook->apply_filters()
       #5 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1860): apply_filters()
       #6 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
       #7 wp-includes/rest-api/class-wp-rest-server.php(1181): WP_REST_Posts_Controller->get_item()
       #8 wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
       #9 wp-includes/rest-api.php(535): WP_REST_Server->dispatch()
       #10 wp-includes/rest-api.php(2889): rest_do_request()
       #11 [internal function]: rest_preload_api_request()
       #12 wp-includes/block-editor.php(634): array_reduce()
       #13 wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
       #14 wp-admin/post.php(187): require('...')
       #15 {main}
         thrown in wp-content/plugins/donation-block-for-stripe-by-givewp/src/DonationBlock.php on line 82
       ```
   

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

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-91/#post-16924296)
 * Hi, [@davidanderson](https://wordpress.org/support/users/davidanderson/).
 * Glad you reached out.
 * Can you share your system info with me so I can check if this issue is replicable
   elsewhere using PHP 8.2?
 * Navigate to Donations –> Tools –> System Info (tab) and click the button to “
   Get System Report” and copy/paste that in your reply here.
 * That will give me some more context to be able to help.
 *  Thread Starter [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-91/#post-16924329)
 * Sorry, since I couldn’t use the plugin I removed it and installed something else.
 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-91/#post-16935402)
 * I understand, [@davidanderson](https://wordpress.org/support/users/davidanderson/).
   If you decide to use GiveWP again, we will be happy to help.
 * Have a great day! 🙂

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

The topic ‘Fatal errors’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-91/#post-16935402)
 * Status: resolved