Title: Bug in functions/dynamic-styles.php &#8211; Illegal String Offset
Last modified: August 21, 2016

---

# Bug in functions/dynamic-styles.php – Illegal String Offset

 *  Resolved [Parwaiz Khan](https://wordpress.org/support/users/parwaiz-khan/)
 * (@parwaiz-khan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/)
 * Hello Hueman Team,
    I Posted it before – No takers! (may be, I chose wrong tags.)
   Below is the same query. Please response if you have ideas or solutions. Thank
   you:
 * I just downloaded and installed Hueman 2.1.5. The Test Development site is showing
   the following warning strings above the header [website is: [http://test.lifevibrant.com/](http://test.lifevibrant.com/):
   
   >>>>> Warning: Illegal string offset ‘background-color’ in /home2/holder18/public_html/
   test/wp-content/themes/hueman/functions/dynamic-styles.php on line 220
 * Warning: Illegal string offset ‘background-image’ in /home2/holder18/public_html/
   test/wp-content/themes/hueman/functions/dynamic-styles.php on line 221
 * Warning: Illegal string offset ‘background-position’ in /home2/holder18/public_html/
   test/wp-content/themes/hueman/functions/dynamic-styles.php on line 222
 * Warning: Illegal string offset ‘background-attachment’ in /home2/holder18/public_html/
   test/wp-content/themes/hueman/functions/dynamic-styles.php on line 223
 * Warning: Illegal string offset ‘background-repeat’ in /home2/holder18/public_html/
   test/wp-content/themes/hueman/functions/dynamic-styles.php on line 224
 * Warning: Illegal string offset ‘background-size’ in /home2/holder18/public_html/
   test/wp-content/themes/hueman/functions/dynamic-styles.php on line 225
    >>>>>
   >>>> Please advise.

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

 *  [Mike Orange](https://wordpress.org/support/users/mike-orange/)
 * (@mike-orange)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5085732)
 * Hello,
    why don’t you try solution from Alex, theme author: [http://wordpress.org/support/topic/after-update-warning-illegal-string-offset](http://wordpress.org/support/topic/after-update-warning-illegal-string-offset)
   And please mark this **[solved]**, if no further questions in this thread.
 *  Thread Starter [Parwaiz Khan](https://wordpress.org/support/users/parwaiz-khan/)
 * (@parwaiz-khan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5085873)
 * Thanks a lot Mike. A bit strange, but the given step took care of those ‘Illigal
   strings’.
 * For any one else who may be encountering the same issue, here is the solution(
   as pointed by Mike) given by Alex and my implementation of those directions:
 * From Alex – “Hi – try pressing save options in theme options once. “
 * Here is my implementation:
    Go to Appearance -> Hueman Theme -> hover over it-
   > Click the ‘theme details’ -> at the bottom -> open the ‘options’, select and‘
   save’. Done!
 * Thanks again.
 * Parwaiz Khan
 *  [mattd79](https://wordpress.org/support/users/mattd79/)
 * (@mattd79)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5086103)
 * Excellent, this worked for me as well. Thanks guys.
 *  [Pete77w](https://wordpress.org/support/users/pete77w/)
 * (@pete77w)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5086106)
 * Why are we having to do this in the first place…
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5086107)
 * [@pete77w](https://wordpress.org/support/users/pete77w/) –
 * This thread is from 7 months ago – are you still having this issue in the current
   version?
    If so, please open a new thread as this one is marked resolved.
 *  [Mike Orange](https://wordpress.org/support/users/mike-orange/)
 * (@mike-orange)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5086108)
 * Hi [@wpyogi](https://wordpress.org/support/users/wpyogi/),
    you are completely
   right, Thread is resolved, long time ago…. There are a lot of “Hueman theme” 
   threads I was involved in, and always kindly asked “PLS mark this [resolved]”
   In 90% (or so) it was OK, but rest – folks grabs the solution and leave tread
   open. Unfortunately – I’m not in position to give support, suppose I’ll have 
   time to do it in the future…
 * So, PLS mark this resolved – I don’t have “moderator powers” to do it
 * Cheers,
    Mike
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5086109)
 * Mods – please close this topic. Thanks.

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

The topic ‘Bug in functions/dynamic-styles.php – Illegal String Offset’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [illegal string offset](https://wordpress.org/support/topic-tag/illegal-string-offset/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 7 replies
 * 6 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/bug-in-functionsdynamic-stylesphp-illegal-string-offset/#post-5086109)
 * Status: resolved