繁体   English   中英

Elementor 库:未连接(cURL 错误 28:连接超时...)

[英]Elementor Library: Not connected (cURL error 28: Connection timed out ...)

尝试在 Elementor 中加载模板时遇到问题。 模板加载页面卡在加载循环中。

这些是 Wordpress -> Elementor -> System Info -> Debug 中的错误

Errors: 
        TypeError: Cannot read property 'indexOf' of null
            at http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.1.6 - 2:27412
            2018-08-01 15:39 +00:00

        TypeError: Cannot read property 'indexOf' of null
            at http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.1.5 - 2:27412
            2018-07-29 15:58 +00:00
            x 2 times

系统信息

当我遇到同样的问题时,它有助于断开我的 elementor 帐户及其许可证。 重新激活还重新激活了与模板库的连接,这似乎与 elementor 插件的其余部分分开处理。

使用 Elementor 2.1.4,我无法通过使用“同步库”工具重新安装插件、重新激活许可证、禁用其他插件来解决此问题。

对我有用的是替换

  s:10:"categories";N;

  s:10:"categories";a:0:{}

在数据库中wp_otions表中条目的option_value字段中,其中

 option_name = 'elementor_remote_info_library'

此值会不时更新,因此为避免类别再次设置为 null,您可能还需要在wp-content/plugins/elementor/includes/api.php@111update_option( self::LIBRARY_OPTION_KEY, ...)

    $info_data['library']['categories'] = json_decode( $info_data['library']['categories'] );

这会导致此问题,因为此时类别已可用作数组而不是 JSON。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM