- This topic has 12 replies, 2 voices, and was last updated 1 year, 2 months ago by David.
January 22, 2020 at 2:46 am #1140004Ben
I applied a lot of updates to a site today (WordPress update, lots of plugins, including GeneratePress). After the updates, the site now displays three identical error messages in the header which look like this…
Notice: Undefined index: icons in /home/******/**********/wp-content/themes/123.generatepress/inc/theme-functions.php on line 26
Any help appreciated as I’m at a bit of a loss as to what’s wrong at the moment!January 22, 2020 at 2:53 am #1140018Ben
I think it might relate to the top bar widgets. There are two custom HTML widgets there which just show images with hyperlinks. On some pages they still show up and on others they don’t (they should show on all pages). The error messages show on all pages though.January 22, 2020 at 2:57 am #1140020DavidStaffCustomer SupportJanuary 22, 2020 at 3:11 am #1140032Ben
I definitely haven’t made any changes to the theme files or the folder name. Starting to worry now!January 22, 2020 at 3:14 am #1140035DavidStaffCustomer SupportJanuary 22, 2020 at 3:16 am #1140040Ben
No, I don’t have a child theme installed.
The current theme is GeneratePress Version: 2.2.2January 22, 2020 at 3:26 am #1140052DavidStaffCustomer Support
OK so somewhere along the way the generatepress theme folder name has been changed which is stopping the theme from updating.
You would need to access your Site via FTP and change the the folder name in:
The theme will then update and any busted files should be replaced.
Although i can’t see any issues in doing this – always advisable to make a backup before making changes.January 22, 2020 at 3:30 am #1140057Ben
Thanks very much David. When I change the folder name, are you anticipating the theme automatically updating itself, or will I have to instigate the update in the usual way?
What concerns me is that I didn’t change the folder name, so I’m not sure what did. Nobody else has FTP access.January 22, 2020 at 3:40 am #1140064DavidStaffCustomer Support
You will need to activate the theme update.
The change in folder name is a little concerning. I would recommend reviewing your current security setup and running some malware tests just to be safe.January 22, 2020 at 3:52 am #1140068Ben
Thanks David. I’ve done as described, updated the GeneratePress, re-applied it as the current theme, and everything looks as it should again. Very happy about this, so thanks so much for your help.
The concern about the directory changing its name remains. The login page is hidden, I have a limit on login attempts, and a ReCaptcha check on login. Not sure what else I can do. If there’s a malware test you recommend I’d be pleased to hear of it.
Thanks again 🙂January 22, 2020 at 4:06 am #1140077DavidStaffCustomer SupportJanuary 22, 2020 at 4:33 am #1140098Ben
Thanks for the help and the advice David. WordFence is now installed and it found no issues. The folder will remain a mystery, but at least everything looks good now 🙂January 22, 2020 at 5:53 am #1140145
- You must be logged in to reply to this topic.