[英]Error showing while uploading theme in wordpress
我嘗試使用wordpress中的上載選項安裝wordpress主題。 但是,當我上載它時,顯示以下錯誤消息。
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
請提供可能的解決方案幫助。
提前致謝
聽起來您正在上傳的zip文件不是zip文件,或者已損壞。
嘗試從源中重新下載主題,然后再次嘗試上傳。
我在php 7.2上也遇到了同樣的問題| ubuntu 18.04 | wordpress 5.2,然后根據一些研究,使用apt install php7.2-zip
, 但是它沒有從后端修復主題更新問題 。 然后我使用sudo apt-get install php7.2-curl
安裝了php curl並解決了這個問題。
php curl for ubuntu:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.