当前位置:Gxlcms > PHP教程 > 一个关于wp-cli的报错

一个关于wp-cli的报错

时间:2021-07-01 10:21:17 帮助过:5人阅读

PHP Fatal error:  Uncaught exception 'PharException' with message 'phar "/usr/local/bin/wp" has a broken signature' in /usr/local/bin/wp:3
Stack trace:
#0 /usr/local/bin/wp(3): Phar::mapPhar()
#1 {main}
  thrown in /usr/local/bin/wp on line 3
  
  

准备用wp-cli维护下wordpress网站的时候,报这个错了~
谢谢大家知道怎么回事的说说,再次感谢!

回复内容:

PHP Fatal error:  Uncaught exception 'PharException' with message 'phar "/usr/local/bin/wp" has a broken signature' in /usr/local/bin/wp:3
Stack trace:
#0 /usr/local/bin/wp(3): Phar::mapPhar()
#1 {main}
  thrown in /usr/local/bin/wp on line 3
  
  

准备用wp-cli维护下wordpress网站的时候,报这个错了~
谢谢大家知道怎么回事的说说,再次感谢!

人气教程排行