Elementor Pro授权相关报错修复求助(已排除插件冲突)
修复Elementor Pro许可证API错误
错误信息
wp-content/plugins/elementor-pro/license/api.php:174 ElementorPro\License\API::is_request_running() wp-content/plugins/elementor-pro/license/api.php:205 ElementorPro\License\API::get_license_data() wp-content/plugins/elementor-pro/license/admin.php:224 ElementorPro\License\Admin->display_page() wp-includes/class-wp-hook.php:308 do_action('elementor_page_elementor-license') wp-admin/admin.php:259
解决方案
手动重置许可证
- 若能访问Elementor许可证页面,点击「注销许可证」,重新输入密钥激活
- 若页面无法加载,通过数据库操作:
- 登录phpMyAdmin,找到对应站点的
wp_options表(前缀可能自定义) - 删除
elementor_pro_license_key和elementor_pro_license_data两个选项 - 返回WordPress后台重新激活许可证
- 登录phpMyAdmin,找到对应站点的
修复或替换API文件
- 检查
wp-content/plugins/elementor-pro/license/api.php文件权限,设置为644 - 若文件损坏,下载对应版本的Elementor Pro安装包,替换
license目录下的所有文件(操作前备份原文件)
- 检查
验证站点URL设置
进入「设置 > 常规」,确认「WordPress地址(URL)」与「站点地址(URL)」完全一致且正确,避免使用不规范的临时域名或localhost配置(本地开发环境需保证URL配置无误)排查服务器安全限制
- 检查服务器防火墙(如ModSecurity)或CDN安全规则(如Cloudflare),确认是否拦截了Elementor的许可证验证请求
- 临时禁用相关安全规则,测试错误是否消失
内容的提问来源于stack exchange,提问作者alamin student
相关产品推荐
相关产品推荐

