Site logo

[Resolved] Changing License Key GeneratePress Premium–Issues

Home Forums Support [Resolved] Changing License Key GeneratePress Premium–Issues

Home Forums Support Changing License Key GeneratePress Premium–Issues

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #1891394
    Leo
    Staff
    Customer Support

    Hi 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.

    #1891398
    Alice

    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,
    alice

    #1891400
    Leo
    Staff
    Customer Support

    Sounds good.

    By default, there are only two blank files in a child theme – style.css and function.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/

    #1892657
    Alice

    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:

    “><i class=”fa fa-shopping-cart”></i> <span class=”cart_button”<?php echo WC()->cart->get_cart_total(); ?></span>

    Alice

    #1892680
    Leo
    Staff
    Customer Support

    I’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.

    #1892684
    Alice

    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

    #1892697
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.