Title: Notice uninitialised string offset:0
Last modified: August 30, 2016

---

# Notice uninitialised string offset:0

 *  [Capobis](https://wordpress.org/support/users/ioweuiraosjfosj/)
 * (@ioweuiraosjfosj)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/notice-uninitialised-string-offset0/)
 * Hi guys,
 * i have this message on the top of my homepage:
 * Notice: Uninitialized string offset: 0 in […] formatting.php on line 3285
 * this is the related line:
 * if ( strpos($url, ‘:’) === false && ! in_array( $url[0], array( ‘/’, ‘#’, ‘?’))&&
   !
   preg_match(‘/^[a-z0-9-]+?\.php/i’, $url) ) $url = ‘[http://&#8217](http://&#8217);.
   $url;
 * someboby can help me?

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/notice-uninitialised-string-offset0/#post-6617017)
 * First, isolate the real problem. What you see might just be a symptom.
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Fifteen theme
   to rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)

The topic ‘Notice uninitialised string offset:0’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/notice-uninitialised-string-offset0/#post-6617017)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
