Site logo

[Support request] Cannot remove site template

Home Forums Support [Support request] Cannot remove site template

Home Forums Support Cannot remove site template

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1882953
    David

    I only installed GP premium today. After I install a site template I cannot remove it to install another one. It just goes to restoring content and never changes.

    #1882960
    Elvin
    Staff
    Customer Support

    Hi David,

    When you try to remove the template from this view – https://docs.generatepress.com/article/using-the-site-library/#removing-an-imported-site – does it return any error?

    Are you familiar with Google Dev tools? (right click page + inspect)

    Can you check on the console tag for any errors? Let us know.

    #1883828
    David

    It just stays on ‘removing content’ with the revolving circle. The only way I can change sites is by deleting the theme and GP premium plug in.

    #1883835
    David
    Staff
    Customer Support

    Hi there,

    when the issue occurs. If you right click the page, and select Inspect, it will open up the developers tools. Select the Console tab. Are their any errors being displayed ?

    #1883846
    David

    Yes this is what is says –

    JQMIGRATE: Migrate is installed, version 3.3.2
    /wp-json/generatepress-site-library/v1/restore_content?_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    themes.php:1 Uncaught (in promise) Object

    #1884765
    David
    Staff
    Customer Support

    When you install a Site from the Library – GP creates a ‘snapshot’ of the site before the install goes ahead, which is what it uses to provide you the option to revert those changes when selecting a new site.

    But on your site its storing this value agains this user string: ?_locale=user which is failing as it doesn’t exist after the site import. This will be to do with how your local server is storing user data. And i can’t really advise on how to change that behaviour.

    If you’re working on a clean install, try installing the WP Reset plugin, which will roll the site back to a clean install.

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