简体   繁体   English

为 Wordpress 中的高级自定义字段插件激活 WPGraphQL 时出现致命错误

[英]Fatal error when activating WPGraphQL for Advanced Custom Fields plugin in Wordpress

I have already intalled wpgraphql, wpgraphiql and advanced custom fields, but when I try to acctivate WPGraphQL for Advanced Custom Fields the next message appers in wordpress:我已经安装了 wpgraphql、wpgraphiql 和高级自定义字段,但是当我尝试为高级自定义字段激活 WPGraphQL 时,下一条消息出现在 wordpress 中:

Warning: require(/Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-graphql-acf-develop/vendor/composer/../phpstan/phpstan/bootstrap.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-graphql-acf-develop/vendor/composer/autoload_real.php on line 69

Fatal error: require(): Failed opening required '/Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-graphql-acf-develop/vendor/composer/../phpstan/phpstan/bootstrap.php' (include_path='.:/Applications/MAMP/bin/php/php7.4.12/lib/php') in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-graphql-acf-develop/vendor/composer/autoload_real.php on line 69

Please refer to the repository for the same issue: https://github.com/wp-graphql/wp-graphql-acf/issues/222请参阅存储库以了解相同的问题: https://github.com/wp-graphql/wp-graphql-acf/issues/222

As suggested you can currently use an older version of the plugin found here: https://github.com/wp-graphql/wp-graphql-acf/archive/19697681d01b0acafeeac256ca3bd5a68747d73a.zip按照建议,您目前可以使用此处找到的旧版本插件: https://github.com/wp-graphql/wp-graphql-acf/archive/19697681d01b0acafeeac256ca3bd5a68747d73a.ZADCDBD79A8D84175FC229B

Seems to be an issue with the latest version of the plugin好像是最新版插件的问题

I had the same problem, try deleting, uploading and trying again我遇到了同样的问题,尝试删除,上传并重试

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

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