Title: FATAL ERROR on Shortcode use
Last modified: November 10, 2023

---

# FATAL ERROR on Shortcode use

 *  [hyrulianknight](https://wordpress.org/support/users/hyrulianknight/)
 * (@hyrulianknight)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-on-shortcode-use/)
 * Hello! I seem to be having an issue using this plugin. I went ahead and uploaded
   a GEDCOM and that went fine, but when I attempt to use any shortcodes on pages,
   it brings up a FATAL error. Afterwards, it won’t let me edit the page because
   of it. Is there anything anyone would recommend in trying? I appreciate the help!
 * > **Fatal error**: Uncaught TypeError: Cannot access offset of type string on
   > string in C:\Users\Ceraus\Local Sites\suarezancestry\app\public\wp-content\
   > plugins\rootspersona\rootspersona.php:91 Stack trace: #0 C:\Users\Ceraus\Local
   > Sites\suarezancestry\app\public\wp-includes\shortcodes.php(433): Roots_Persona-
   > >persona_handler(”, ”, ‘rootsPersona’) #1 [internal function]: do_shortcode_tag(
   > Array) #2 C:\Users\Ceraus\Local Sites\suarezancestry\app\public\wp-includes\
   > shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(rootsP…’, ‘do_shortcode_ta…’,‘\
   > n<p>The default…’) #3 C:\Users\Ceraus\Local Sites\suarezancestry\app\public\
   > wp-includes\class-wp-hook.php(324): do_shortcode(‘\n<p>The default…’) #4 C:\
   > Users\Ceraus\Local Sites\suarezancestry\app\public\wp-includes\plugin.php(205):
   > WP_Hook->apply_filters(‘\n<p>The default…’, Array) #5 C:\Users\Ceraus\Local
   > Sites\suarezancestry\app\public\wp-includes\rest-api\endpoints\class-wp-rest-
   > posts-controller.php(1863): apply_filters(‘the_content’, ‘<!– wp:paragra…’)#
   > 6 C:\Users\Ceraus\Local Sites\suarezancestry\app\public\wp-includes\rest-api\
   > endpoints\class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller-
   > >prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request)) #7 C:\
   > Users\Ceraus\Local Sites\suarezancestry\app\public\wp-includes\rest-api\class-
   > wp-rest-server.php(1193): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request))#
   > 8 C:\Users\Ceraus\Local Sites\suarezancestry\app\public\wp-includes\rest-api\
   > class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request(Object(WP_REST_Request),‘/
   > wp/v2/pages/(?…’, Array, NULL) #9 C:\Users\Ceraus\Local Sites\suarezancestry\
   > app\public\wp-includes\rest-api.php(551): WP_REST_Server->dispatch(Object(WP_REST_Request))#
   > 10 C:\Users\Ceraus\Local Sites\suarezancestry\app\public\wp-includes\rest-api.
   > php(2918): rest_do_request(Object(WP_REST_Request)) #11 [internal function]:
   > rest_preload_api_request(Array, ‘/wp/v2/pages/8?…’) #12 C:\Users\Ceraus\Local
   > Sites\suarezancestry\app\public\wp-includes\block-editor.php(753): array_reduce(
   > Array, ‘rest_preload_ap…’, Array) #13 C:\Users\Ceraus\Local Sites\suarezancestry\
   > app\public\wp-admin\edit-form-blocks.php(77): block_editor_rest_api_preload(
   > Array, Object(WP_Block_Editor_Context)) #14 C:\Users\Ceraus\Local Sites\suarezancestry\
   > app\public\wp-admin\post.php(187): require(‘C:\\Users\\Ceraus…’) #15 {main}
   > thrown in **C:\Users\Ceraus\Local Sites\suarezancestry\app\public\wp-content\
   > plugins\rootspersona\rootspersona.php** on line **91**

The topic ‘FATAL ERROR on Shortcode use’ is closed to new replies.

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

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [hyrulianknight](https://wordpress.org/support/users/hyrulianknight/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-on-shortcode-use/)
 * Status: not resolved