-
AuthorPosts
-
April 7, 2022 at 2:12 pm #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 283I 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
April 9, 2022 at 3:50 pm #1347787Hey 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
I also see that your child theme contains an outdated header.php file, please update with the parent theme header.phpBest regards,
MikeApril 11, 2022 at 8:43 am #1347909Great thanks, that’s sorted it
April 11, 2022 at 10:03 am #1347925Hi,
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,
RikardJanuary 16, 2023 at 2:12 pm #1378871I 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
January 16, 2023 at 2:40 pm #1378877Hi,
@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 -
AuthorPosts
- The topic ‘Error highlighting undefined array key "footer_option" and "footer_behavior"’ is closed to new replies.