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

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #470575

    panagiotis
    Participant

    Hello, 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

    #470594

    panagiotis
    Participant

    Another 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?

    #470743

    panagiotis
    Participant

    After 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!!!

    #470934

    Hello,

    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

    #471033

    panagiotis
    Participant

    Thank 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

    #471436

    panagiotis
    Participant

    In 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.
    #471464

    panagiotis
    Participant

    Never mind. I found the problem. i had an older version of content.php

    #471631

    Hello,

    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

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