简体   繁体   English

主题导致SSL CA证书错误

[英]Theme causing SSL CA cert error

Been troubleshooting an issue with Hostgator and it appears something in my custom theme is causing the following error when trying to download or upgrade plugins in Wordpress: 正在对Hostgator的问题进行故障排除,并且在尝试下载或升级Wordpress中的插件时,我的自定义主题中出现了一些错误,导致以下错误:

Download failed. 下载失败。 Problem with the SSL CA cert (path? access rights?) SSL CA证书有问题(路径?访问权限?)

Any suggestion on what I should be looking for to resolve this issue. 关于我应该寻找解决此问题的任何建议。 If I switch to a default Wordpress theme - I'm able to download and update plugins. 如果我切换到默认的Wordpress主题,则可以下载和更新插件。

found the problem - located in the functions.php file 发现了问题-位于functions.php文件中

this coding was causing the problem - figured I would leave this here in case others experience a similar issue. 这种编码是造成问题的原因-我想如果其他人遇到类似的问题,我会把它留在这里。

add_action('admin_init', 'flush_rewrite_rules'); add_action('admin_init','flush_rewrite_rules');

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

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