Title: [Plugin: My Custom Widgets] Debug on &#8211; &quot;Uninitialized string offset&quot;
Last modified: August 20, 2016

---

# [Plugin: My Custom Widgets] Debug on – "Uninitialized string offset"

 *  [gilu](https://wordpress.org/support/users/gilu/)
 * (@gilu)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-my-custom-widgets-debug-on-uninitialized-string-offset/)
 * Hi there!
 * I’ve enabled the debug mode in WordPress, just for fun, I thought.
    Then I saw
   hundreds of these messages:
 *     ```
       Notice: Uninitialized string offset: 0 in /home/.../wp-content/plugins/mycustomwidget/my_custom_widget_functions.php on line 769
   
       Notice: Uninitialized string offset: 0 in /home/.../wp-content/plugins/mycustomwidget/my_custom_widget_functions.php on line 771
   
       Notice: Uninitialized string offset: 0 in /home/.../wp-content/plugins/mycustomwidget/my_custom_widget_functions.php on line 773
   
       Notice: Uninitialized string offset: 0 in /home/.../wp-content/plugins/mycustomwidget/my_custom_widget_functions.php on line 775
       ```
   
 * Any ideas?
 * Thanks!
 * [http://wordpress.org/extend/plugins/mycustomwidget/](http://wordpress.org/extend/plugins/mycustomwidget/)

Viewing 1 replies (of 1 total)

 *  [Derwood](https://wordpress.org/support/users/derwood/)
 * (@derwood)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-my-custom-widgets-debug-on-uninitialized-string-offset/#post-2678690)
 * Just upgraded my server to PHP 5.4.3 and found the following in my errors log:
 * [Mon Jun 11 19:03:31 2012] [error] [client 66.249.71.133] PHP Warning: Illegal
   string offset ‘before_widget’ in /www/paspitablog/wp-content/plugins/mycustomwidget/
   my_custom_widget_functions.php on line 769
    [Mon Jun 11 19:03:31 2012] [error][
   client ] PHP Warning: Illegal string offset ‘after_widget’ in /www/wp-content/
   plugins/mycustomwidget/my_custom_widget_functions.php on line 771 [Mon Jun 11
   19:03:31 2012] [error] [client ] PHP Warning: Illegal string offset ‘before_title’
   in /www/wp-content/plugins/mycustomwidget/my_custom_widget_functions.php on line
   773 [Mon Jun 11 19:03:31 2012] [error] [client ] PHP Warning: Illegal string 
   offset ‘after_title’ in /www/wp-content/plugins/mycustomwidget/my_custom_widget_functions.
   php on line 775
 * And I don’t have debug turned on.. This all started *after* going to PHP 5.4.3.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: My Custom Widgets] Debug on – "Uninitialized string offset"’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mycustomwidget.svg)
 * [My Custom Widgets](https://wordpress.org/plugins/mycustomwidget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycustomwidget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycustomwidget/)
 * [Active Topics](https://wordpress.org/support/plugin/mycustomwidget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycustomwidget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycustomwidget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Derwood](https://wordpress.org/support/users/derwood/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-my-custom-widgets-debug-on-uninitialized-string-offset/#post-2678690)
 * Status: not resolved