Warning: Undefined variable $checkout in class-wp-automatic-updater.php on line 175

Warning: Undefined variable $checkout in /www/wwwroot/lunji.com/wp-admin/includes/class-wp-automatic-updater.php on line 175
wordpress 6.2.1

修改方法:
add code:
$checkout = false; // Initialize $checkout variable

before:
foreach ( $vcs_dirs as $vcs_dir )

错误: : cURL error 60: SSL certificate problem: unable to get local issuer certificate

错误: : cURL error 60: SSL certificate problem: unable to get local issuer certificate

WP Super Cache 插件

设置中测试缓存时:

页面不相符!时间戳有差异或者不存在!

解决这个问题,

解决方法:

/wp-includes/certificates 目录中,
ca-bundle.crt
文件,将域名证书的pem内容放在尾部保存,再测试,就解决了。

Uncaught Error: Call to undefined function putenv() /wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37

Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37

这个错误,导致一直维护的woocommerce商店不能启用PHP8及以上。

解决方案:

宝塔面板,PHP配置中,删除这个函数限制 。

Warning: curl_setopt_array(): cannot represent a stream of type Output as a STDIO FILE

Warning: curl_setopt_array(): cannot represent a stream of type Output as a STDIO FILE* in \aliyun\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 70
注释掉: ->debug(true) // Enable the debug will output detailed information 这行就解决了。