Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1376073

    Hello,

    I had to update my Enfold theme, to be compatible with PHP 8.0+. I have a child theme and a parent theme.
    The childtheme is called ”FC” The updatet parent theme Enfold made the footer widgets dissapear.

    I have tried everything, like uploading a new copy of header.php to the childtheme. Please help.

    Greetings,

    Andrew

    • This topic was modified 2 years, 7 months ago by Andries16.
    #1376084

    Hey Andries16,

    It looks like header-nieuw.php is the newest header file in your child theme. Note that it needs to be called header.php, nothing else. Please try to rename the old file, then rename the new file to only header.php.

    Best regards,
    Rikard

    #1376085

    Hi Rikard,

    No that header/nieuw.php was tryout. This was not the solution, I have removed it now, so you won´t be confused…
    There is a header.php now, the original one. Please check what the solution is.

    Greetings.

    Andrew

    #1376114

    Hi,

    Could you share WordPress login details as well, so that we can check your settings?

    Best regards,
    Rikard

    #1376118

    Hello Rikard,

    Thanks for the fast reply, see login below.
    Hope you can solve it.

    Greetings

    Andrew.

    • This reply was modified 2 years, 7 months ago by Andries16.
    #1376275

    Hi Rikard,

    Maybe you can take a look today? If you have time.
    See login.

    Greetings,

    Andrew

    • This reply was modified 2 years, 7 months ago by Andries16.
    #1376475

    Hi Andrew,

    Sorry for the late reply. I tried renaming your current header.php file, but there’s a critical error on your site after that, and the same thing happens when I try to upload a new version of the same file. Maybe you could try to check your code in header.php, and move it into the file I’ve uploaded called __header-new.php? Once you are done, then you can rename the old file to header-old.php for example, and the new file to only header.php. If you need further help with the critical error, then please share server error logs with us as well.

    Best regards,
    Rikard

    #1376481

    Hi Rikard,

    I have replaced the new Header.php.
    Now the footer is back, but the footer menu’s are broken as you can see. http://www.frieslandcentraal-concept.nl

    This line of code that I removed in the childtheme was in Functions.php to remove the critical error:
    add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);

    You can compare the current Functions.php with the ”_functions-old.php” in childtheme.
    You can also check the current Header.php with the ”_header-old.php” in childtheme.

    I want my footer to be restored… I don’t know what to do…
    It’s something that’s missing in the new Header.php and the line of code (see above) in the new Functions.php

    #1376524

    Hi,

    Thanks for the update. So you are generating the content in your footer with shortcode? We can’t be responsible for third party shortcode unfortunately, but you might want to try to use the functionality to use a page as your footer in the theme instead, if you want a custom footer. You can set your footer options under Enfold->Footer.

    Best regards,
    Rikard

    #1376544

    Hi Rikard,

    I know you can’t be responsible, just hoping you could take a look what the issue might be.
    With the old enfold it worked, sadly not with the updated Enfold version. The fix is pretty crucial for a working site.

    So there is something in the new Header.php that is missing, that’s needed from the header-old.php.
    And the removed add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1); missing in the new Functions.php.
    You can compaire it with functions-old.php and you will notice. But when I insert it back, there will be an error,

    Maybe because something is missing in the new header.php or because of something that has been added to the updated Enfold that causes a conflict.

    It might be an easy fix for you, but I’m not so advanced in the code to repair it. I even want to pay you extra for it… please
    Hoping you might give it a try to fix.

    Greetings

    Andrew

    #1376574

    Hi,

    I’m not sure exactly what those shortcodes are doing unfortunately, but wouldn’t it be easier to simply design your footer in a new page, then assign it to be used as your footer under Enfold->Footer? Investigating what those shortcodes actually do and why they are not working could take hours, and designing a new footer would likely not take more than 30 minutes.

    Best regards,
    Rikard

    #1377354

    This topic can be closed. I have fixed it.

    #1377356

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Footer disapeared after update Enfold’ is closed to new replies.