Title: Error : Warning: Illegal string offset
Last modified: February 16, 2019

---

# Error : Warning: Illegal string offset

 *  [hothbricks](https://wordpress.org/support/users/hothbricks/)
 * (@hothbricks)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-warning-illegal-string-offset/)
 * Hello,
 * Getting a lot of errors when I activate the plugin.
 * They all look like this with various strings (replaced personal path with XXX):
 * Warning: Illegal string offset ‘header-title’ in /home/clients/xxx/xxx/wp-content/
   plugins/wptouch/core/class-wptouch-pro.php on line 580
 * Warning: Illegal string offset ‘link-color’ in /home/clients/xxx/xxx/wp-content/
   plugins/wptouch/core/class-wptouch-pro.php on line 647
 * Warning: Illegal string offset ‘link-color’ in /home/clients/xxx/xxx/wp-content/
   plugins/wptouch/core/class-wptouch-pro.php on line 648
 * Warning: Illegal string offset ‘header-background-color’ in /home/clients/xxx/
   xxx/wp-content/plugins/wptouch/core/class-wptouch-pro.php on line 651
 * Warning: Illegal string offset ‘header-background-color’ in /home/clients/xxx/
   xxx/wp-content/plugins/wptouch/core/class-wptouch-pro.php on line 652
 * Warning: Illegal string offset ‘header-border-color’ in /home/clients/xxx/xxx/
   wp-content/plugins/wptouch/core/class-wptouch-pro.php on line 655
 * Warning: Illegal string offset ‘header-border-color’ in /home/clients/xxx/xxx/
   wp-content/plugins/wptouch/core/class-wptouch-pro.php on line 656
 * Warning: Illegal string offset ‘header-title’ in /home/clients/xxx/xxx/wp-content/
   plugins/wptouch/core/class-wptouch-pro.php on line 580

Viewing 1 replies (of 1 total)

 *  Thread Starter [hothbricks](https://wordpress.org/support/users/hothbricks/)
 * (@hothbricks)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-warning-illegal-string-offset/#post-11213124)
 * Well, dirty fix witing for some better solution, but it works now :
 * Replace on line 579
    if ( $domain == ‘wptouch-pro’ ) { by if ( $domain == ‘wptouch’){
 * Replace on line 646 :
    if ( $domain == ‘bauhaus’ ) { by if ( $domain == ‘else’){

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [hothbricks](https://wordpress.org/support/users/hothbricks/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/error-warning-illegal-string-offset/#post-11213124)
 * Status: not resolved