Home › Forums › WoodMart support forum › After update to latest version, error 500 in blog and posts
After update to latest version, error 500 in blog and posts
- This topic has 7 replies, 2 voices, and was last updated 1 year, 7 months ago by Elise Noromit.
-
AuthorPosts
-
May 28, 2023 at 1:04 pm #470575
panagiotisParticipantHello, i just updated my site to the latest version of woodmart and i now cannot access the blog page.
I also cannot open a single post. I noticed that when i change the single post layout setting to ‘large image’ then the post opens (this is not the layout i had before the update)Do you have any suggestion what to check or change? All plugins are up to date. I already read similar topics and general info about error 500 but did not find a solution. So please could you check it in more detail?
blog page: https://markellos-olive.gr/en/news/
In case it helps, this is the site before the update of the theme:https://wordpress-921025-3550200.cloudwaysapps.com/en/home/ (the blog is the ‘news’ menu)
thank you in advance
May 28, 2023 at 8:00 pm #470594
panagiotisParticipantAnother issue: in the w3 validator i get the following:
Error: Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
the problem is create in the information box carousels i have in the home page, where i can see a lot of of empty <style></style>
https://validator.w3.org/nu/?doc=https%3A%2F%2Fmarkellos-olive.gr%2F
Is this a bug?How can i remove this tags completely?
May 29, 2023 at 12:39 pm #470743
panagiotisParticipantAfter a lot of search i found out that the validator problems disappear if i create the sections from the beginning in the new version of the template…So don’t research the W3 validator problems now.. This means – of course – that i will have to recreate almost the whole site!!!
May 30, 2023 at 1:02 am #470934
Elise NoromitMemberHello,
Sorry for the delay. Please check this article: https://xtemos.com/docs-topic/a-500-internal-server-error/
If you have any questions please feel free to contact us.
Best Regards
May 30, 2023 at 10:48 am #471033
panagiotisParticipantThank you for your reply but if i wanted to search the internet for an answer, i could do it myself. I already found this article. Maybe you did not read my problem in detail. The problem started AFTER i updated to the latest version of Woodmart.
Did you read about the part i write that ‘I noticed that when i change the single post layout setting to ‘large image’ then the post opens’….So how is this server or plugin related if it works with a different layout?
I already tried all these solutions (and other i found online) before contacting you. I even reset the .htaccess. Do you have the time to investigate my problem? Someone with your experience in your theme should find this problem rather easily..
thank you in advance
May 31, 2023 at 1:56 pm #471436
panagiotisParticipantIn case this helps, its from the apache log:
[Wed May 31 10:09:48.914603 2023] [proxy_fcgi:error] [pid 21166:tid 140331205502720] [client 212.205.228.192:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function woodmart_post_date(), 0 pass…………e.php(204): locate_template()\n#4 /home/921025.cloudwaysapps.com/csvfmujybm/public_html/wp-content/themes/woodmart/inc/template-tags/template-tags.php(281): get_template_part()\n#5 /ho…’, referer: https://wordpress-921025-3567738.cloudwaysapps.com/
I am attaching the whole log. i created a clone of the site to test the problem but still no solution
Attachments:
You must be logged in to view attached files.May 31, 2023 at 3:08 pm #471464
panagiotisParticipantNever mind. I found the problem. i had an older version of content.php
June 1, 2023 at 1:27 am #471631
Elise NoromitMemberHello,
You have written file content.php incorrectly in the child theme.
This causes the problem please correct your custom code.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register