Title: Fatal error: Uncaught Error: Illegal offset type
Last modified: February 4, 2023

---

# Fatal error: Uncaught Error: Illegal offset type

 *  Resolved [Natalie G](https://wordpress.org/support/users/nataliegarza011/)
 * (@nataliegarza011)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-illegal-offset-type/)
 * Hello there,
 * There is a Fatal Error with the PeepSo plugin right after installing it on the
   site. This is causing issues with my other plugins.
 *     ```wp-block-code
       [04-Feb-2023 21:55:05 UTC] PHP Fatal error Uncaught TypeError: Illegal offset type in /home/forge/test-peepso.sandbox.ssa.rocks/wp-content/plugins/peepso-core/3/classes/utilities/input.php:32
       Stack trace:
       #0 /home/forge/test-peepso.sandbox.ssa.rocks/wp-content/plugins/peepso-core/3/api/rest/v1/mayfly.php(22): PeepSo3_Input->value()
       #1 /home/forge/test-peepso.sandbox.ssa.rocks/wp-content/plugins/peepso-core/3/classes/api/api.php(80): PeepSo3_REST_V1_Endpoint_Mayfly->__construct()
       #2 /home/forge/test-peepso.sandbox.ssa.rocks/wp-content/plugins/peepso-core/3/classes/api/api.php(19): PeepSo3_API->rest_api_init()
       #3 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/class-wp-hook.php(308): PeepSo3_API->{closure}()
       #4 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
       #5 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/plugin.php(517): WP_Hook->do_action()
       #6 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/rest-api.php(577): do_action()
       #7 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/rest-api.php(403): rest_get_server()
       #8 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/class-wp-hook.php(308): rest_api_loaded()
       #9 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
       #10 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/plugin.php(565): WP_Hook->do_action()
       #11 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/class-wp.php(399): do_action_ref_array()
       #12 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/class-wp.php(780): WP->parse_request()
       #13 /home/forge/test-peepso.sandbox.ssa.rocks/wp-includes/functions.php(1332): WP->main()
       #14 /home/forge/test-peepso.sandbox.ssa.rocks/wp-blog-header.php(16): wp()
       #15 /home/forge/test-peepso.sandbox.ssa.rocks/index.php(17): require('...')
       #16 {main}
       thrown in /home/forge/test-peepso.sandbox.ssa.rocks/wp-content/plugins/peepso-core/3/classes/utilities/input.php on line 32
       ```
   

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

 *  Plugin Contributor [Matt Jaworski](https://wordpress.org/support/users/jaworskimatt/)
 * (@jaworskimatt)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-illegal-offset-type/#post-16443778)
 * Hi Natalie, sorry about that! Can you tell us which PHP version you are running?
 * Can you please oepn a support ticket via [PeepSo.com/contact](https://PeepSo.com/contact)?
   I think we will need to look into it personally, as this error does no happen
   for anyone else, and we can’t find a way to trigger it.
    -  This reply was modified 3 years, 4 months ago by [Matt Jaworski](https://wordpress.org/support/users/jaworskimatt/).
 *  Thread Starter [Natalie G](https://wordpress.org/support/users/nataliegarza011/)
 * (@nataliegarza011)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-illegal-offset-type/#post-16444915)
 * [@jaworskimatt](https://wordpress.org/support/users/jaworskimatt/)
 * The site is running PHP 8.0.17
 * To recreate this issue, all I had to do was install the free PeepSo plugin. 
   
   I recommend using the [WP Debugging](https://wordpress.org/plugins/wp-debugging/)
   plugin to view these fatal errors.
 * There is an **Uncaught TypeError: Illegal offset type** with the code within 
   the following file in your plugin:
   /peepso-core/3/classes/utilities/input.phpLine
   32
 * Please ask your developers to review.
 *  Plugin Contributor [Matt Jaworski](https://wordpress.org/support/users/jaworskimatt/)
 * (@jaworskimatt)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-illegal-offset-type/#post-16447471)
 * Thank you for your invaluable insights, however the error does not replicate 
   for any of our thousands of users or test environments no matter how hard we 
   try.
 * I’m gonna file it under “fluke” and mark this topic as resolved.
    -  This reply was modified 3 years, 4 months ago by [Matt Jaworski](https://wordpress.org/support/users/jaworskimatt/).

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

The topic ‘Fatal error: Uncaught Error: Illegal offset type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/peepso-core_e0dcd7.svg)
 * [Community by PeepSo - Download from PeepSo.com](https://wordpress.org/plugins/peepso-core/)
 * [Support Threads](https://wordpress.org/support/plugin/peepso-core/)
 * [Active Topics](https://wordpress.org/support/plugin/peepso-core/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/peepso-core/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/peepso-core/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Matt Jaworski](https://wordpress.org/support/users/jaworskimatt/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-illegal-offset-type/#post-16447471)
 * Status: resolved