Trim() expects parameter 1 – theme-functions.php

This topic has 10 replies, 4 voices, and was last updated 5 years, 11 months ago ago by Rose Tyler

  • Avatar: Daryl
    Daryl
    Participant
    December 9, 2018 at 11:17

    Hi,

    I am always seeing the following error message at the top header.

    “Warning: trim() expects parameter 1 to be string, array given in /home/anjeri/public_html/home/wp-content/themes/xstore/framework/theme-functions.php on line 711”.

    Kindly assist

    Regards,
    Daryl

    9 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 9, 2018 at 20:48
    Avatar: Daryl
    Daryl
    Participant
    December 10, 2018 at 08:49

    Hi,

    Thanks, it works perfectly after changing the settings.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 10, 2018 at 18:30

    Hello,

    You are welcome!

    Regards

    Avatar: beerbefore
    beerbefore
    Participant
    December 20, 2018 at 10:04

    Hei, in my case solution doesn’t work.
    Any other way to fix it?
    Regards
    Patrick

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 20, 2018 at 10:06

    Hello @beerbefore,

    I do not see the warning on your site – http://prntscr.com/lxctud Which page should I check?

    Regards

    Avatar: beerbefore
    beerbefore
    Participant
    December 20, 2018 at 10:32
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 20, 2018 at 10:36

    Hello @beerbefore,

    I’ve sent the report to our developers to include a fix for this in next theme update. There is no ready solution right now, unfortunately. Please ignore the warning, it doesn’t affect the work of your site.

    Regards

    Avatar: beerbefore
    beerbefore
    Participant
    December 20, 2018 at 10:53

    OK

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 20, 2018 at 10:57

    Dear @beerbefore,

    Thanks for understanding.
    Have a nice day.

    Regards

  • Viewing 10 results - 1 through 10 (of 10 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.