Skip to content

Can't import templates after update (Error - "Invalid template type") #6483

@MichaelDarko

Description

@MichaelDarko

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

I have a problem with importing Elementor templates after the last update.

If i try to import templates i get this error: "Invalid template type "footer".."

It only happens when importing templates that have a template type assinged to them - like header, footer etc.

Importing other templates (page or section) works normal.

Two days ago everything worked fine. It started happening after the latest update, but i'm not sure if it's related to the Elementor or Elementor PRO plugin.

Steps to reproduce

  1. Update to the latest version of Elementor and Elementor PRO.

  2. Ty to import header, footer or single template type (Section or page templates work fine.)

  3. You get an error "Invalid template type"

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

Details

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: Source distribution v5.6.38-83.0
PHP Version: 7.1.5
PHP Max Input Vars: 10000
PHP Max Post Size: 32M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 5.0.1
WP Multisite: No
Max Upload Size: 32 MB
Memory limit: 128M
Permalink Structure: /%postname%/
Language: cs-CZ
Timezone: Europe/Prague
Debug Mode: Inactive

== Theme ==
Name: GeneratePress
Version: 2.2.1
Author: Tom Usborne
Child Theme: No

== User ==
Role: administrator
WP Profile lang: cs_CZ
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

== Active Plugins ==
Classic Editor
Version: 1.3
Author: WordPress Contributors

Elementor
	Version: 2.3.6
	Author: Elementor.com

Elementor Pro
	Version: 2.3.0
	Author: Elementor.com

GP Premium
	Version: 1.7.7
	Author: Tom Usborne

== Debug ==
Errors: There are no errors to display

<!-- For bug reports, let us know about your system environment: Copy and paste the system info report from Elementor => System info, and paste it here or in http://pastebin.com/ -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions