alleyinteractive / alleyinteractive/wp-block-debug

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

Open
#6 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
16
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.