Title: Error in the code: Illegal String offset &#039;src&#039;
Last modified: August 31, 2016

---

# Error in the code: Illegal String offset 'src'

 *  [xberg](https://wordpress.org/support/users/xberg/)
 * (@xberg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-in-the-code-illegal-string-offset-src/)
 * Hi,
    I get the PHP e_Warning error: Illegal string offset ‘src’ in / wps-deals-
   template-functions.php ( line 2711)
 * The exact line is:
    ‘imgurl’ => $business_logo[‘src’]
 * I think $business_logo is a string and you are using it as an array.
    I never
   use business logo anyway.
 * This should be easy to fix as I like my logs error-less. Thanks!
 * [https://wordpress.org/plugins/deals-engine/](https://wordpress.org/plugins/deals-engine/)

The topic ‘Error in the code: Illegal String offset 'src'’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/deals-engine_725266.svg)
 * [Social Deals Engine](https://wordpress.org/plugins/deals-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/deals-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/deals-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/deals-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/deals-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/deals-engine/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [xberg](https://wordpress.org/support/users/xberg/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/error-in-the-code-illegal-string-offset-src/)
 * Status: not resolved