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

Version 2.8.11 throws fatal error #6489

Closed
DracoVenturus opened this issue Apr 8, 2022 · 2 comments
Closed

Version 2.8.11 throws fatal error #6489

DracoVenturus opened this issue Apr 8, 2022 · 2 comments

Comments

@DracoVenturus
Copy link

DracoVenturus commented Apr 8, 2022

Hello,
upon upgrading to v.2.8.11 the site crashes and I get the following error.
Reverting to 2.8.10 brings my site back to normal.

[08-Apr-2022 08:22:23 UTC] PHP Fatal error: Uncaught TypeError: array_unshift(): Argument #1 ($array) must be of type array, string given in /home/xxxxxxx/public_html/wp-content/plugins/pods/src/Pods/Integration.php:59
Stack trace:
#0 /home/xxxxxxx/public_html/wp-content/plugins/pods/src/Pods/Integration.php(59): array_unshift('wpml_language_h...', 0)
#1 /home/xxxxxxx/public_html/wp-content/plugins/pods/src/Pods/Integrations/Service_Provider.php(83): Pods\Integration->hook()
#2 /home/xxxxxxx/public_html/wp-content/plugins/pods/src/Pods/Integrations/Service_Provider.php(58): Pods\Integrations\Service_Provider->plugins_loaded()
#3 /home/xxxxxxx/public_html/wp-content/plugins/pods/src/Pods/Integrations/Service_Provider.php(41): Pods\Integrations\Service_Provider->hooks()
#4 /home/xxxxxxx/public_html/wp-content/plugins/pods/tribe-common/vendor/lucatume/di52/src/tad/DI52/Container.php(484): Pods\Integrations\Service_Provider->register()
#5 /home/xxxxxxx/public_html/wp-content/plugins/pods/tribe-common/src/Tribe/Container.php(288): tad_DI52_Container->register('Pods\Integratio...')
#6 /home/xxxxxxx/public_html/wp-content/plugins/pods/classes/PodsInit.php(2506): tribe_register_provider('Pods\Integratio...')
#7 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(307): PodsInit->run('')
#8 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#9 /home/xxxxxxx/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#10 /home/xxxxxxx/public_html/wp-content/plugins/pods/tribe-common/src/Tribe/Main.php(107): do_action('tribe_common_lo...')
#11 /home/xxxxxxx/public_html/wp-content/plugins/pods/classes/PodsInit.php(264): Tribe__Main->plugins_loaded()
#12 /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php(307): PodsInit->maybe_set_common_lib_info('')
#13 /homexxxxxxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#14 /home/xxxxxxx/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#15 /home/xxxxxxx/public_html/wp-settings.php(450): do_action('plugins_loaded')
#16 /home/xxxxxxx/public_html/wp-config.php(92): require_once('/home/xxxxxxx/...')
#17 /home/xxxxxxx/public_html/wp-load.php(50): require_once('/home/xxxxxxx/...')
#18 /home/xxxxxxx/public_html/wp-blog-header.php(13): require_once('/home/xxxxxxx/...')
#19 /home/xxxxxxx/public_html/index.php(17): require('/home/xxxxxxx/...')
#20 {main}
thrown in /home/xxxxxxx/public_html/wp-content/plugins/pods/src/Pods/Integration.php on line 59

@martinpl
Copy link

martinpl commented Apr 8, 2022

Exacly this hook ->wpml_language_has_switched <-

@DracoVenturus
Copy link
Author

Solved after updating to 2.8.13

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

2 participants