Home Forums WoodMart support forum Error coming from formatting.php

Error coming from formatting.php

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #363583

    tdgAU
    Participant

    I have the Woodmart theme installed on https://www.mintfloors.com.au/ and I am getting the attached error
    Warning: ltrim() expects parameter 1 to be string, array given in /home/customer/www/diyfloorboards.com.au/public_html/wp-includes/formatting.php on line 4357

    (error.jpg). I’ve found that this error is coming from the Categories.

    If I go to the offending Categories (category-screen-causing-error.jpg) I can see that the Category Page Title Image, Categories Navigation and Header Menu have an image attributed to them. I have not done this, and I don’t know where they’re coming from.

    I remove them and format it the way it should be (how-it-should.jpg) and all is well.

    Then, within a couple of hours, these changes have reverted, and these broken image links reappear and I have to go back into the categories and remove them again.

    Attached is also a copy of formatting.php

    Please let me know what the heck this is, as the client has just signed the hand-over document and paid me. I don’t want to have this be an ongoing error.

    • This topic was modified 2 years, 8 months ago by tdgAU.
    Attachments:
    You must be logged in to view attached files.
    #363595

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #363602

    tdgAU
    Participant

    This is done, the username and password are in the extra information

    #363620

    Artem Temos
    Keymaster

    Currently, we don’t see any errors on your home page. Could you please clarify how can we reproduce this?

    #363626

    tdgAU
    Participant

    Yes the error has been resolved, like I have shown in the screenshots…

    What I’m saying is, there’s an issue with formatting.php that’s showing the error. Can you please look to see where the error is coming from?

    Also, why, when I fix the error, it comes back BY ITSELF a couple of hours later.

    #363719

    Artem Temos
    Keymaster

    Please, contact us when the error appears again so we could check it and see what is wrong. Currently, we don’t know why it appeared on your website before.

Viewing 6 posts - 1 through 6 (of 6 total)