Title: E_WARNING: Illegal string offset &#039;users_can_register&#039;
Last modified: August 24, 2016

---

# E_WARNING: Illegal string offset 'users_can_register'

 *  [Jonny Harris](https://wordpress.org/support/users/spacedmonkey/)
 * (@spacedmonkey)
 * [11 years ago](https://wordpress.org/support/topic/e_warning-illegal-string-offset-users_can_register/)
 * Have a big problem with this plugin. I am using this plugin on a very high scale
   site. It is wordpress multisite and using memcache. I keep getting the following
   errors in my logs.
 *     ```
       Error message
       E_WARNING: Illegal string offset 'users_can_register'
   
       in get_site_option called at <path>/web/wp-includes/option.php (990)
       …gins/better-wp-security/modules/free/hide-backend/
       class-itsec-hide-backend.php (123)
       in ITSEC_Hide_Backend::execute_hide_backend called at ? (?)
       in call_user_func_array called at <path>/web/wp-includes/plugin.php (505)
       in do_action called at <path>/web/wp-settings.php (353)
       in require_once called at <path>/wp-config.php (180)
       in require_once called at <path>/web/wp-load.php (34)
       in require_once called at <path>/web/wp-blog-header.php (12)
       in require called at <path>/web/index.php (17)
       ```
   
 *     ```
       Error message
       E_WARNING: Illegal string offset 'users_can_register'
   
       in get_site_option called at <path>/web/wp-includes/option.php (990)
       …inspirewp/web/wp-content/plugins/better-wp-security/core/
       class-itsec-files.php (418)
       in ITSEC_Files::file_writer_init called at ? (?)
       in call_user_func_array called at <path>/web/wp-includes/plugin.php (505)
       in do_action called at <path>/web/wp-settings.php (237)
       in require_once called at <path>/wp-config.php (180)
       in require_once called at <path>/web/wp-load.php (34)
       in require_once called at <path>/web/wp-blog-header.php (12)
       in require called at <path>/web/index.php (17)
       ```
   
 * I believe it is related to the following bug in core here [https://core.trac.wordpress.org/ticket/31147](https://core.trac.wordpress.org/ticket/31147)
   
   But it only seems to be happening with this plugin…….
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [11 years ago](https://wordpress.org/support/topic/e_warning-illegal-string-offset-users_can_register/#post-6176184)
 * This topic might be relevant for your issue:
 * [https://wordpress.org/support/topic/http-404-with-hide-backend-and-multisite-not_found-potential-fix](https://wordpress.org/support/topic/http-404-with-hide-backend-and-multisite-not_found-potential-fix)
 * dwinden

Viewing 1 replies (of 1 total)

The topic ‘E_WARNING: Illegal string offset 'users_can_register'’ is closed to new
replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dwinden](https://wordpress.org/support/users/dwinden/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/e_warning-illegal-string-offset-users_can_register/#post-6176184)
 * Status: not resolved