Zend framework2 ApiGiltiy:无法获取API文件系统可写性状态

Zend framework2 ApiGiltiy:无法获取API文件系统可写性状态,zend-framework2,laminas-api-tools,Zend Framework2,Laminas Api Tools,我最近在使用ApiGility时开始出现这个错误。我不知道任何可能导致这种情况的特殊变化: Unable to fetch API filesystem writability status; you may need to refresh the page. 除了这个错误,我还得到了这个错误: Unable to fetch API opcode cache status; you may need to refresh the page. 你知道我应该如何进行bug测试吗 发布的一个解决

我最近在使用ApiGility时开始出现这个错误。我不知道任何可能导致这种情况的特殊变化:

Unable to fetch API filesystem writability status; you may need to refresh the page.
除了这个错误,我还得到了这个错误:

Unable to fetch API opcode cache status; you may need to refresh the page.
你知道我应该如何进行bug测试吗

发布的一个解决方案是在ApiGility中注释掉一些代码,但这听起来并不是一个合理的解决方案


谢谢

我解决了问题,我正在使用ZfcRbac,我的权限设置为:

'zfc_rbac' => [
    'protection_policy' => \ZfcRbac\Guard\GuardInterface::POLICY_DENY
]

有趣的是,一个人又回到了同样的问题上,感谢古德内斯提醒我这个问题的解决方法。