Tagged: ,

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

    I have this issue on several WP sites with the latest version of WordPress and Enfold.

    Warning: Undefined array key “footer_option” in /homepages/1/d413740437/htdocs/sitename/wp-content/themes/enfold/footer.php on line 30
    Warning: Undefined array key “footer_behavior” in /homepages/1/d413740437/htdocs/sitename/wp-content/themes/enfold/footer.php on line 32
    Warning: Undefined array key “footer_behavior” in /homepages/1/d413740437/htdocs/sitename/wp-content/themes/enfold/footer.php on line 283

    I have provided login details below. I would be grateful if you please advise how this is caused and how it can be fixed, so I can implement this across the multiple sites I maintain. Thanks in advance

    #1347787

    Hey antilimited,
    Thank you for your patience and the link to your site, I believe that this is related to your .htaccess file is missing the mod_rewrite rules, please see the WordPress ▸ Settings ▸ Permalink Settings and add the mod_rewrite rules to your .htaccess file
    2022-04-09_004.jpg
    I also see that your child theme contains an outdated header.php file, please update with the parent theme header.php

    Best regards,
    Mike

    #1347909

    Great thanks, that’s sorted it

    #1347925

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1378871

    I have the same problem now on some pages since the last updates and switching the php-Version to 8.0.

    I tried to type in the lines above into the .htaccess file but it didn’t helps.
    Can you also take a look onto the page?

    If I switch the php to 7.4 these lines will not be shown, but also no footer is shown.
    If I switch to php 8.0 these lines came up and also no footer…

    Thanks a lot

    Dave

    • This reply was modified 1 year, 10 months ago by divedave.
    • This reply was modified 1 year, 10 months ago by divedave.
    #1378877

    Hi,

    @divedave
    please open a new thread with the url to the page in question and an admin login so we can be of more assistance. Since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area.
    I see that you have a child theme, if you have a custom header.php or footer.php please remove them from your child theme we do not recommend adding these files to your child theme, it is the most common reason for errors when updating.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Error highlighting undefined array key "footer_option" and "footer_behavior"’ is closed to new replies.