Working With Premium Plugins
Some premium plugin licenses are tied to the main site domain which could lead to some issues on a cloned site.
Elementor Pro
Elementor pro will register a license to a specific domain or subdomain. The site with a connected Elementor Pro license automatically disconnects the license when the domain is changed.
It is standard procedure and the easiest way to make it work is to run a few WP CLI commands right after the site was cloned (on the cloned site).
wp elementor-pro license deactivate
wp elementor-pro license activate <license-key>
wp elementor flush-css --regenerate
Explanation
- The command will disconnect the site license (even if it does not exist or exist and is broken)
- The command will register the license for the site (<license-key> - your license key )
- The command will regenerate all CSS files with new paths and domain.