Title: Cannot assign an empty string to a string offset
Last modified: December 12, 2017

---

# Cannot assign an empty string to a string offset

 *  Resolved [andheller](https://wordpress.org/support/users/andheller/)
 * (@andheller)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/)
 * I’m getting this error in my error logs. It’s generating a huge log file (1.7
   GB in two weeks) that keeps maxing out my disk space. What should I do?
 * Cannot assign an empty string to a string offset in /home/***WEBSITE NAME HERE***/
   public_html/wp-content/plugins/connections/includes/settings/class.settings-api.
   php on line 984
    [12-Dec-2017 18:23:35 UTC] PHP Warning: Illegal string offset‘
   allow_private_override’ in /home/*** WEBSITE NAME HERE***/public_html/wp-content/
   plugins/connections/includes/settings/class.settings-api.php on line 984 [12-
   Dec-2017 18:23:35 UTC] PHP Warning:

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

 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9776392)
 * What version of Connections do you have installed? The line number being reported,
   it should not be possible for such a warning to be generated at that spot in 
   the latest version 8.6.12. I’m prepping another release, so if you are experiencing
   this issue with 8.6.12, I’d like to know so the error can be corrected before
   I do the next update.
 *  Thread Starter [andheller](https://wordpress.org/support/users/andheller/)
 * (@andheller)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9776522)
 * Hi! Thanks for the response. I’m using Version 0.8.14
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9776587)
 * The 0.8.14 version is roughly 3 1/2 yrs old now … I’m fairly certain this has
   been fixed long ago. In order to get rid of those warning in the PHP error log
   you’ll have to update or, if you can not, disable the warnings from be logged.
   Your web host would have to help with the latter if you do not know how.
 *  Thread Starter [andheller](https://wordpress.org/support/users/andheller/)
 * (@andheller)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9776732)
 * Thank you!
    Will the plugin delete the information if I update to a new version?
   Do I have to uninstall and reinstall? There is no update button
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9779443)
 * [@shazahm1hotmailcom](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * No, updating does not delete the directory data. If you do not see the update,
   it is likely your are using an older version of WordPress. Newer versions of 
   Connections require WP 4.4 or newer, so if your installed WP version is older,
   WP will hide the update, preventing the Connections update from being installed.
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9779456)
 * I should have added… if you are not able to apply WP and Connections updates…
   then I suggest adjusting the PHP logging to stop logging warnings to the error
   log file. Your web host should be able to help you with that.
 * Hope that helps!

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

The topic ‘Cannot assign an empty string to a string offset’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-assign-an-empty-string-to-a-string-offset-2/#post-9779456)
 * Status: resolved