There has been a critical error on this website – Please advise
-
Hi, I tried logging onto my website today at https://www.vg-reloaded.com and was greeted with a page that said “There has been a critical error on this website.” I can access my WordPress Admin page fine, but I can’t work out what the problem is. I’ve tried disabling all plugins, changing themes but to no avail.
The errors are: Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “slake_boastfully_midwife” not found or invalid function name in /home/dncajtiqw9dx/public_html/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/dncajtiqw9dx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /home/dncajtiqw9dx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/dncajtiqw9dx/public_html/wp-includes/script-loader.php(2272): do_action() #3 /home/dncajtiqw9dx/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #4 /home/dncajtiqw9dx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/dncajtiqw9dx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/dncajtiqw9dx/public_html/wp-includes/general-template.php(3064): do_action() #7 /home/dncajtiqw9dx/public_html/wp-content/themes/mh-magazine-lite/header.php(10): wp_head() #8 /home/dncajtiqw9dx/public_html/wp-includes/template.php(810): require_once(‘/home/dncajtiqw…’) #9 /home/dncajtiqw9dx/public_html/wp-includes/template.php(745): load_template() #10 /home/dncajtiqw9dx/public_html/wp-includes/general-template.php(48): locate_template() #11 /home/dncajtiqw9dx/public_html/wp-content/themes/mh-magazine-lite/homepage.php(2): get_header() #12 /home/dncajtiqw9dx/public_html/wp-includes/template-loader.php(106): include(‘/home/dncajtiqw…’) #13 /home/dncajtiqw9dx/public_html/wp-blog-header.php(19): require_once(‘/home/dncajtiqw…’) #14 /home/dncajtiqw9dx/public_html/index.php(17): require(‘/home/dncajtiqw…’) #15 {main} thrown in /home/dncajtiqw9dx/public_html/wp-includes/class-wp-hook.php on line 324
and
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
mh-magazine-litedomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/dncajtiqw9dx/public_html/wp-includes/functions.php on line 6114I have little knowledge of PHP, but I have looked at the lines mentioned in the files and found them to be blank. I can’t find any references to “function “slake_boastfully_midwife”, which sounds bizarre lol.
I was hoping I could ask for help?
Thanks
The blog I need help with is: (visible only to logged in users)
-
Hello @adamvgr
I see your site is not hosted on WordPress.com so we don’t have direct insight into what could be going on with the site. I recommend contacting your site’s host for help with this issue.
Looking at the error messages you shared, it looks like this could be an issue with your theme so I recommend checking if the theme is up to date, and updating it if not. If the issue persists, try switching to a default theme such as Twenty Twenty-Four and check if this clears the error.
You mentioned that you changed the theme and this didn’t seem to help clear the error. Ordinarily we’d follow this approach to troubleshoot critical errors so a similar approach may be helpful to you: Solve Problems With Plugins. I also suggest reviewing this guide: How to Fix the Critical Error in WordPress (Step by Step).
If your host isn’t able to help you resolve this issue, you may want to reach out to the broader WordPress community in this forum: Fixing WordPress | WordPress.org.
-
Thanks for the feedback. I will try WordPress.org
It’s weird, I’ve tried switching themes and that hasn’t helped at all.
-
It’s possible this isn’t the theme. That just stood out to me in the messages you shared. Good luck!
- The topic ‘There has been a critical error on this website – Please advise’ is closed to new replies.