Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error on some sites #12

Open
thatdevgirl opened this issue Nov 2, 2022 · 0 comments
Open

Fatal error on some sites #12

thatdevgirl opened this issue Nov 2, 2022 · 0 comments

Comments

@thatdevgirl
Copy link
Owner

thatdevgirl commented Nov 2, 2022

The following fatal error happened on mccourt.g.e when we were testing PHP 8:

Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /code/wp-content/plugins/block-controller/inc/packages.php:125 Stack trace: #0 [internal function]: array_merge(Text: Array, Media: Array, Design: Array, Widgets: Array, Embeds: Array) #1 /code/wp-content/plugins/block-controller/inc/packages.php(125): call_user_func_array('array_merge', Array) #2 /code/wp-content/plugins/block-controller/inc/settings.php(32): ThreePM\BlockController\Packages->get_all_blocks() #3 /code/wp-content/plugins/block-controller/inc/settings.php(117): ThreePM\BlockController\Settings->__construct() #4 /code/wp-content/plugins/block-controller/block-controller.php(20): require_once('/code/wp-conten...') #5 /code/wp-settings.php(428): include_once('/code/wp-conten...') #6 /code/wp-config.php(287): require_once('/code/wp-settin...') #7 /code/wp-load.php(50): require_once('/code/wp-config...') #8 /code/wp-blog-header.php(13): require_once('/code/wp-load.p...') #9 /code/index.php(17): require('/code/wp-blog-h...') #10 {main} thrown in /code/wp-content/plugins/block-controller/inc/packages.php on line 125

Let's test this on PHP 8 locally to see if I can reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant