Title: [Plugin: Quote Source] Fixed issue with Illegal String Offset on PHP 5.4.3
Last modified: August 20, 2016

---

# [Plugin: Quote Source] Fixed issue with Illegal String Offset on PHP 5.4.3

 *  [CKB3](https://wordpress.org/support/users/ckb3/)
 * (@ckb3)
 * [14 years ago](https://wordpress.org/support/topic/plugin-quote-source-fixed-issue-with-illegal-string-offset-on-php-543/)
 * change
    `for($i = 0; $i < 3; $i++) {` on line 109 to `for($i=0;$i< sizeof($xml-
   >entry); $i++) {`
 * 🙂
 * [http://wordpress.org/extend/plugins/quote-source/](http://wordpress.org/extend/plugins/quote-source/)

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

 *  Thread Starter [CKB3](https://wordpress.org/support/users/ckb3/)
 * (@ckb3)
 * [14 years ago](https://wordpress.org/support/topic/plugin-quote-source-fixed-issue-with-illegal-string-offset-on-php-543/#post-2776513)
 * actually that only breaks it. not sure why i thought that would do it since $
   xml isn’t even assigned.
 * BUT! adding this to the top of quote-source.php fixes it, kinda. It suppresses
   the errors at least.
 * ‘error_reporting(0);’
 *  [ryounet](https://wordpress.org/support/users/ryounet/)
 * (@ryounet)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-quote-source-fixed-issue-with-illegal-string-offset-on-php-543/#post-2776820)
 * Just add some isset() here and there.

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

The topic ‘[Plugin: Quote Source] Fixed issue with Illegal String Offset on PHP 
5.4.3’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [ryounet](https://wordpress.org/support/users/ryounet/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-quote-source-fixed-issue-with-illegal-string-offset-on-php-543/#post-2776820)
 * Status: not resolved