Title: &quot;Illegal string offset&quot; error on every function
Last modified: August 31, 2016

---

# "Illegal string offset" error on every function

 *  Resolved [gdavide](https://wordpress.org/support/users/gdavide/)
 * (@gdavide)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-error-on-every-function/)
 * I’ve aiowps 4.0.3 installed on a lot of sites, only in one of these, i get the
   following error:
 * [Mon Feb 01 13:05:36.743019 2016] [proxy_fcgi:error] [pid 48925:tid 140546907506432][
   client 10.200.85.57:43369] AH01071: Got error ‘PHP message: PHP Warning: Illegal
   string offset ‘aiowps_remove_wp_generator_meta_info’ in /var/www/XXX-PATH/public_html/
   wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-config.
   php on line 20\n’, referer: [https://XXX-URL/wp-admin/admin.php?page=aiowpsec_settings&tab=tab4](https://XXX-URL/wp-admin/admin.php?page=aiowpsec_settings&tab=tab4)
 * i get this error when i try to enable any feature, in the example above the error
   appear when i try to enable the “meta inf wp generator”.
    I try to enable the
   feature but i doesn’t enable it.
 * I’ve already tried to disable all the plugins, upgrade to the latest wp version,
   install another theme ecc.
    How can i solve it?
 * thank you,
    regards
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [gdavide](https://wordpress.org/support/users/gdavide/)
 * (@gdavide)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-error-on-every-function/#post-7013571)
 * I solved it.
    The problem was that the option parameter “aio_wp_security_configs”
   had some wrong values. I normally set the “aio_wp_security_configs” parameter
   at wp installation time, with wp cli ([http://wp-cli.org](http://wp-cli.org)):
 * wp option update aio_wp_security_configs “…”
 * Apparently there was some wrong value. I solved by reset the aio_wp_security_configs
   value with:
 * wp option delete aio_wp_security_configs
 * and then by reconfigure aiowps via web interface.
 * regards

Viewing 1 replies (of 1 total)

The topic ‘"Illegal string offset" error on every function’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [gdavide](https://wordpress.org/support/users/gdavide/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/illegal-string-offset-error-on-every-function/#post-7013571)
 * Status: resolved