found errors in head file in betheme
Hello support, i hope this message find you well i was working on my web for updating all the things and suddenly my i found this issues and errors
[04-Dec-2024 14:04:07 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home1/thcolnet/public_html/suitsyourself/wp-content/themes/betheme/functions/theme-head.php:446
Stack trace:
#0 /home1/thcolnet/public_html/suitsyourself/wp-content/themes/betheme/functions/theme-head.php(446): array_merge(Array, NULL)
#1 /home1/thcolnet/public_html/suitsyourself/wp-includes/class-wp-hook.php(324): mfn_styles('')
#2 /home1/thcolnet/public_html/suitsyourself/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /home1/thcolnet/public_html/suitsyourself/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home1/thcolnet/public_html/suitsyourself/wp-includes/script-loader.php(2272): do_action('wp_enqueue_scri...')
#5 /home1/thcolnet/public_html/suitsyourself/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('')
#6 /home1/thcolnet/public_html/suitsyourself/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#7 /home1/thcolnet/public_html/suitsyourself/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /home1/thcolnet/public_html/suitsyourself/wp-includes/general-template.php(3064): do_action('wp_head')
#9 /home1/thcolnet/public_html/suitsyourself/wp-content/themes/betheme/header-shop.php(21): wp_head()
#10 /home1/thcolnet/public_html/suitsyourself/wp-includes/template.php(810): require_once('/home1/thcolnet...')
#11 /home1/thcolnet/public_html/suitsyourself/wp-includes/template.php(745): load_template('/home1/thcolnet...', true, Array)
#12 /home1/thcolnet/public_html/suitsyourself/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#13 /home1/thcolnet/public_html/suitsyourself/wp-content/themes/betheme/woocommerce.php(10): get_header('shop')
#14 /home1/thcolnet/public_html/suitsyourself/wp-includes/template-loader.php(106): include('/home1/thcolnet...')
#15 /home1/thcolnet/public_html/suitsyourself/wp-blog-header.php(19): require_once('/home1/thcolnet...')
#16 /home1/thcolnet/public_html/suitsyourself/index.php(17): require('/home1/thcolnet...')
its all related to your theme-head.php file
Comments
Hi,
Do you have your Betheme, WP, and plugins up to date?
Where does this error appear?
Did you try disabling your plugins?
Best regards
Hello support, kindly am requesting to you that you have to check my web i am facing some issues from your theme this is the new issue which arise suddenly not sure what is this
kindly message me if you need anything from me i already shared my hosting and web credentials with you
Thanks
Can you please answer the questions in my previous message?
You did not say whether your theme, plugins, and WP are up to date or whether you tried to disable plugins.
Thanks