Home › Forums › WoodMart support forum › Error coming from formatting.php
Error coming from formatting.php
- This topic has 5 replies, 2 voices, and was last updated 2 years, 8 months ago by Artem Temos.
-
AuthorPosts
-
March 24, 2022 at 9:20 am #363583
tdgAUParticipantI 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.March 24, 2022 at 9:42 am #363595
Artem TemosKeymasterHello,
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
March 24, 2022 at 10:02 am #363602
tdgAUParticipantThis is done, the username and password are in the extra information
March 24, 2022 at 10:17 am #363620
Artem TemosKeymasterCurrently, we don’t see any errors on your home page. Could you please clarify how can we reproduce this?
March 24, 2022 at 10:22 am #363626
tdgAUParticipantYes 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.
March 24, 2022 at 1:33 pm #363719
Artem TemosKeymasterPlease, 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.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register