Title: PHP: Warning
Last modified: August 22, 2016

---

# PHP: Warning

 *  [deborre](https://wordpress.org/support/users/deborre/)
 * (@deborre)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-warning-37/)
 * Whilst testing updating our site environment to the most recent WordPress Version
   and PHP 5.4.10 we encountered a PHP Warning.
 * Warning: Illegal string offset ‘link_id’ in […]/wp-includes/bookmark.php on line
   308
 * After some digging it seems to be caused by feedwordpress.php line #1007 when
   $which is null and is supplied to get_bookmark().
 * Do you have any experience with this issue or a fix in development?
 * Thanks in advance and best wishes,
    Julian
 * [https://wordpress.org/plugins/feedwordpress/](https://wordpress.org/plugins/feedwordpress/)

Viewing 1 replies (of 1 total)

 *  [modulbuero](https://wordpress.org/support/users/antwortzeit/)
 * (@antwortzeit)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-warning-37/#post-5227560)
 * As a hotfix we (i’m working with [@deborre](https://wordpress.org/support/users/deborre/))
   implemented this:
 * #1005
    if (is_null($sub)) :
 * changed to
 * if (is_null($sub) && !is_null($which)) :
 * Still we’d love this error to be fixed in an update.
 * Best,
 * Christian

Viewing 1 replies (of 1 total)

The topic ‘PHP: Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedwordpress_a6a79a.svg)
 * [FeedWordPress](https://wordpress.org/plugins/feedwordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/feedwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/feedwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedwordpress/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [modulbuero](https://wordpress.org/support/users/antwortzeit/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/php-warning-37/#post-5227560)
 * Status: not resolved