- This topic has 7 replies, 2 voices, and was last updated 4 years, 1 month ago by
Leo.
-
AuthorPosts
-
August 10, 2021 at 8:07 pm #1891365
Alice
In 2020, I had my site rethemed by a web design company when a hacker got in through an outdated theme. They chose GeneratePress for the theme and added Premium to my plugins so they could adjust what they needed to, to have the rethemed site look like the old one.
At some point, Premium needed to be updated and after they initially suggested I pay $49 a year for the plugin (which I expected to not use), decided when I balked to just put their license key on and I was able to update.
On July 31, I again updated Premium on the same day that WooCommerce needed to be updated. A warning appeared after Premium was updated and the text of the warning seemed to reference WooCommerce type commands, so I updated that, hoping it would resolve the problem. At the time it appeared to. However, when I try to get to Widgets, I get an Error: Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, Child Theme. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.8 Current theme: Child Theme (version 0.1.0) Current plugin: (version ) PHP version 7.3.12
I recently started a new website on GoDaddy for an organization I’m a member of. At that time, I chose GeneratePress for the website and purchased a lifetime license for Premium. I note that Premium will allow the plugin to be used on up to 500 sites. I am wondering if I put my new Premium license key on the first site, replacing the web rethemer’s key, might that resolve the problem? And if so, what would be necessary to effect that change?
Alice S
August 10, 2021 at 9:01 pm #1891394Leo
StaffCustomer SupportHi there,
You should definitely use your own license key if you have one.
However, that likely won’t solve the issue.
The error suggested that the issue is in the child theme, which means that something you or the previous developer have added in the child theme file – likely the
function.php
file – is the cause here.You can test by activating the parent theme and see if the issue resolves.
August 10, 2021 at 9:09 pm #1891398Alice
Yes, the text is in one of the php files in the child-theme. I’ll give that a try tomorrow and see how it goes.
Thanks,
aliceAugust 10, 2021 at 9:21 pm #1891400Leo
StaffCustomer SupportSounds good.
By default, there are only two blank files in a child theme –
style.css
andfunction.php
.Any other files would’ve been added by you or the previous developer.
You can download a blank one from here to test if you want:
https://docs.generatepress.com/article/using-child-theme/August 11, 2021 at 3:54 pm #1892657Alice
Thanks, Leo.
The people who did the retheming actually included two other php files: header.php and header-cart.php. Would I be correct in assuming that all the php commands should have been in the function.php file? Another file added to the child theme folder was .editorconfig
The header-cart.php file is the one causing problems, on line 6:
Alice
August 11, 2021 at 4:35 pm #1892680Leo
StaffCustomer SupportI’m not sure unfortunately – it would be best to check with the people who did the work before.
Or you can try moving them all to
function.php
but definitely make sure to backup the site in case you run into some issues during the migration.August 11, 2021 at 4:45 pm #1892684Alice
Yah, that was the conclusion I was beginning to reach. I’ve now inquired of them about opening a trouble ticket.
Thanks for your thoughts.
Alice
August 11, 2021 at 5:08 pm #1892697Leo
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.