欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

一个关于wp-cli的报错

程序员文章站 2024-02-09 09:19:10
...
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网站的时候,报这个错了~
谢谢大家知道怎么回事的说说,再次感谢!

相关标签: php wordpress