Illegal string offset 'cat_header'

This topic has 8 replies, 4 voices, and was last updated 9 years, 2 months ago ago by Jack Richardson

  • Avatar: ezycards
    ezycards
    Participant
    March 20, 2015 at 14:55

    Hi,

    Could you please have a look at the warning and fix it for me?

    Warning: Illegal string offset ‘cat_header’ in …/wp-content/themes/woopress/framework/theme-functions.php on line 4662

    —-
    $content = esc_attr( $term_meta[0][‘cat_header’] ) ? esc_attr( $term_meta[0][‘cat_header’] ) : ”;
    —-

    Thanks!

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: ezycards
    ezycards
    Participant
    March 20, 2015 at 15:14

    Please don’t worry about the Warning for now, somehow it disappeared by itself. I’ll let you know if I see the problem again. Thanks!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 20, 2015 at 15:25

    Hello,

    We’re glad to hear it.
    If you have any questions feel free to contact us.

    Regards,
    Robert Hall.

    Avatar: Jimbo
    Jimbo
    Participant
    August 29, 2015 at 23:18

    I have this issue also.

    Please can you advise me how to fix this error.

    Thanks

    Avatar: Jimbo
    Jimbo
    Participant
    August 30, 2015 at 15:38

    This error is causing me to get 404 page errors at times.

    Seems this theme has some bad coding.

    I need this resolving ASAP please.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 31, 2015 at 13:41

    Hello @Jimbo,

    We can’t access your site now.
    Please provide us with correct FTP and WP Dashboard credentials and specify where you see errors.

    Best regards,
    Jack Richardson.

    Avatar: Jimbo
    Jimbo
    Participant
    September 3, 2015 at 09:27

    Hi,

    You can gain access now to WP Admin, the error was on product category pages when going in to add details such as seo data. It was above the header box on those pages.

    The error was as the original poster put within the themes function file.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 3, 2015 at 12:16

    Hello @Jimbo,

    To fix that error you need just resave product category. Please try it.

    Thank you.

    Best regards,
    Jack Richardson.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.