最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - Critical error on your site

programmeradmin3浏览0评论

I own a site on wordpress but I don't know coding, from tomorrow I am unable to access my site. it is showing "critical error occurred "

The problem showing is

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Hook::do_action(), 0 passed in /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/plugin.php on line 478 and exactly 1 expected in /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/class-wp-hook.php:309 Stack trace: #0 /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/plugin.php(478): WP_Hook->do_action() #1 /home/u712956977/domains/sociallyhaunt/public_html/wp-settings.php(409): do_action('plugins_loaded') #2 /home/u712956977/domains/sociallyhaunt/public_html/wp-config.php(82): require_once('/home/u71295697...') #3 /home/u712956977/domains/sociallyhaunt/public_html/wp-load.php(37): require_once('/home/u71295697...') #4 /home/u712956977/domains/sociallyhaunt/public_html/wp-blog-header.php(13): require_once('/home/u71295697...') #5 /home/u712956977/domains/sociallyhaunt/public_html/index.php(17): require('/home/u71295697...') #6 {main} thrown in /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/class-wp-hook.php on line 309

I need a help and I will be really grateful of actions

I own a site on wordpress but I don't know coding, from tomorrow I am unable to access my site. it is showing "critical error occurred "

The problem showing is

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Hook::do_action(), 0 passed in /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/plugin.php on line 478 and exactly 1 expected in /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/class-wp-hook.php:309 Stack trace: #0 /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/plugin.php(478): WP_Hook->do_action() #1 /home/u712956977/domains/sociallyhaunt/public_html/wp-settings.php(409): do_action('plugins_loaded') #2 /home/u712956977/domains/sociallyhaunt/public_html/wp-config.php(82): require_once('/home/u71295697...') #3 /home/u712956977/domains/sociallyhaunt/public_html/wp-load.php(37): require_once('/home/u71295697...') #4 /home/u712956977/domains/sociallyhaunt/public_html/wp-blog-header.php(13): require_once('/home/u71295697...') #5 /home/u712956977/domains/sociallyhaunt/public_html/index.php(17): require('/home/u71295697...') #6 {main} thrown in /home/u712956977/domains/sociallyhaunt/public_html/wp-includes/class-wp-hook.php on line 309

I need a help and I will be really grateful of actions

Share Improve this question asked Oct 6, 2020 at 19:50 arpit tiwariarpit tiwari 1
Add a comment  | 

1 Answer 1

Reset to default 0

I'd look at the wp-settings file to see if there is something added there that shouldn't be there. Look at a backup copy of it, or the default one in the WP core code.

You could also reinstall WP manually. Many googles/bings/ducks on how to do that; here's one: https://www.wpbeginner/wp-tutorials/how-to-uninstall-and-reinstall-wordpress/ .

Make a backup copy of your files.

Could also be your theme. You could temporarily deactivate your current theme by renaming the theme's folder. And you might also want to temporarily deactivate your plugins by renaming the plugins folder.

You don't mention what version of WP you have. But it is always a good idea to keep WP to the latest release. And ensure that you are running PHP 7.2+.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论