- This topic has 12 replies, 2 voices, and was last updated 4 years, 2 months ago by David.
-
AuthorPosts
-
January 22, 2020 at 2:46 am #1140004Ben
Hi
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 #1140018BenI 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 SupportHi there,
looks like you may have made some changes to the theme files as the theme folder is named:
123.generatepress
?January 22, 2020 at 3:11 am #1140032BenHi David
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 SupportDo you have a child theme installed ?
Check in Appearance > Themes and let me know name and version of the theme that is installed.January 22, 2020 at 3:16 am #1140040BenNo, I don’t have a child theme installed.
The current theme is GeneratePress Version: 2.2.2
January 22, 2020 at 3:26 am #1140052DavidStaffCustomer SupportOK 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:
/wp-content/themes/123.generatepress
to/wp-content/themes/generatepress
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 #1140057BenThanks 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 SupportYou 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 #1140068BenThanks 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 SupportA lot of users recommend iThemes Security or WordFence plugins. Both come with Malware Scanners as well as a host of protection services.
January 22, 2020 at 4:33 am #1140098BenThanks 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 #1140145DavidStaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.