• xberg

    (@xberg)


    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/

Viewing 1 replies (of 1 total)
  • Thread Starter xberg

    (@xberg)

    Actually I was able to fix this error by commenting OUT the condition in the same file on line 2706:

    // check if the business title is set
    if( !empty( $businesstitle ) ) {

    I am not sure why you had commented this.

Viewing 1 replies (of 1 total)
  • The topic ‘Error in the code: Illegal String offset 'src'’ is closed to new replies.