Title: Illegal string offset
Last modified: March 15, 2022

---

# Illegal string offset

 *  Resolved [Gustavo Troisi](https://wordpress.org/support/users/gustavotroisi/)
 * (@gustavotroisi)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/)
 * Hello,
 * why am I getting this error?
 * `( ! ) Warning: Illegal string offset 'pending' in ....\wp-content\plugins\new-
   user-approve\includes\user-list.php on line 440`
 * I see this only in new versions of the plugin
 * Thank you!

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

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15464178)
 * Hi [@gustavotroisi](https://wordpress.org/support/users/gustavotroisi/),
 * Thanks for using the plugin,
 * I hope you are doing well, we are forwarded this to our technical team we will
   get back to you soon.
 * Thanks & Regards
 * WP Experts Support Team
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15478539)
 * Hi [@gustavotroisi](https://wordpress.org/support/users/gustavotroisi/),
 * We are unable to replicate the error at our end. Can you please tell me the WordPress
   version and PHP version?
 * Thanks
 *  Thread Starter [Gustavo Troisi](https://wordpress.org/support/users/gustavotroisi/)
 * (@gustavotroisi)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15479536)
 * Hello! I’m using WordPress 5.9.2 and php 7.3.5
 * I tried disabling all the other plugins to avoid any conflicts, and tried also
   with a clean theme (Twenty Twenty-Two), but the same error is displayed. Also
   I’ve uninstalled and delete the plugin files and reinstalling it completely.
 * This is the complete screen error once activated:
 *     ```
       #	Time	Memory	Function	Location
       1	0.0006	419800	{main}( )	...\admin.php:0
       2	2.7463	16415840	require( '***\wp-admin\menu.php' )	...\admin.php:158
       3	2.7563	16456320	require_once( '***\wp-admin\includes\menu.php' )	...\menu.php:394
       4	2.7614	16441232	do_action( )	...\menu.php:155
       5	2.7614	16441608	WP_Hook->do_action( )	...\plugin.php:474
       6	2.7614	16441608	WP_Hook->apply_filters( )	...\class-wp-hook.php:331
       7	2.7687	16493096	pw_new_user_approve_user_list->pending_users_bubble( )	...\class-wp-hook.php:307
       ( ! ) Warning: Illegal string offset 'pending' in ***\wp-content\plugins\new-user-approve\includes\user-list.php on line 440
       ```
   
 * Many thanks
    -  This reply was modified 4 years, 2 months ago by [Gustavo Troisi](https://wordpress.org/support/users/gustavotroisi/).
    -  This reply was modified 4 years, 2 months ago by [Gustavo Troisi](https://wordpress.org/support/users/gustavotroisi/).
    -  This reply was modified 4 years, 2 months ago by [Gustavo Troisi](https://wordpress.org/support/users/gustavotroisi/).
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15491172)
 * Hi [@gustavotroisi](https://wordpress.org/support/users/gustavotroisi/),
 * Can you install ‘Transients Manager’ plugin and check if the transient ‘new_user_approve_user_statuses_count’
   exists? and it has a value something like this a:3:{s:7:”pending”;i:1;s:8:”approved”;
   i:1;s:6:”denied”;i:0;}
 * You can also try deleting that transient and check if the error gets resolved.
 * Thanks
 *  Thread Starter [Gustavo Troisi](https://wordpress.org/support/users/gustavotroisi/)
 * (@gustavotroisi)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15511770)
 * Hi [@arsalantariq](https://wordpress.org/support/users/arsalantariq/), the value
   was empty. Once I deleted it, the notice dissapeared.
    Many thanks!!
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15513503)
 * Hi [@gustavotroisi](https://wordpress.org/support/users/gustavotroisi/),
 * Thanks for the feedback.
 * Thanks

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

The topic ‘Illegal string offset’ is closed to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-64/#post-15513503)
 * Status: resolved