Uncaught TypeError: array_merge()
-
On a site we recently upgraded to the latest version of Litespeed Cache, we started getting this when trying to access the admin (we’ve since rolled back to 4.6 to get things working again):
Error Details ============= An error of type E_ERROR was caused in line 583 of the file /home/example/domains/example.com/public_html/wp-content/plugins/litespeed-cache/src/root.cls.php. Error message: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/example/domains/example.com/public_html/wp-content/plugins/litespeed-cache/src/root.cls.php:583 Stack trace: #0 /home/example/domains/example.com/public_html/wp-content/plugins/litespeed-cache/src/root.cls.php(583): array_merge() #1 /home/example/domains/example.com/public_html/wp-content/plugins/litespeed-cache/tpl/banner/new_version.php(24): LiteSpeed\Root::save_summary() #2 /home/example/domains/example.com/public_html/wp-content/plugins/litespeed-cache/src/gui.cls.php(354): include('/home/example/...') #3 /home/example/domains/example.com/public_html/wp-content/plugins/litespeed-cache/src/admin-display.cls.php(185): LiteSpeed\GUI->show_promo() #4 /home/example/domains/example.com/public_html/wp-includes/class-wp-hook.php(307): LiteSpeed\Admin_Display->enqueue_scripts() #5 /home/example/domains/example.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /home/example/domains/example.com/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #7 /home/example/domains/example.com/public_html/wp-admin/admin-header.php(118): do_action() #8 /home/example/domains/example.com/public_html/wp-admin/index.php(137): require_once('/home/example/...') #9 {main} thrown
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Uncaught TypeError: array_merge()’ is closed to new replies.