alleyinteractive / alleyinteractive/wp-block-debug

once() function colission with illuminate/support (used in Sage theme)

未关闭
#6 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
16
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

### Description of the bug

PHP Fatal error: Cannot redeclare once() (previously declared in /var/www/html/vendor/illuminate/support/helpers.php:256) in /var/www/html/web/app/plugins/wp-block-debug/vendor/spatie/once/src/functions.php on line 12
Fatal error: Cannot redeclare once() (previously declared in /var/www/html/vendor/illuminate/support/helpers.php:256) in /var/www/html/web/app/plugins/wp-block-debug/vendor/spatie/once/src/functions.php on line 12
E

### Steps To Reproduce

try to run this plugin alongside Sage theme and the above error will trigger

### Additional Information

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。