I got an error “Missing argument 2 for wp_widget() in /home/content/p/y/r/pyramus/html/blog/wp-includes/widgets.php on line 76”. And the admin pages doesn’t open
what may the problem of it.Can anyone help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Deepak saathi,
First you need say, after what this error started to appear? Like: after you installed theme/plugin or after you edited their (theme/plugin) codes.
If you have installed the theme/plugin then you’ll have to go hard through phpMyadmin > wp_options table and try to find what theme/plugin you installed.. and just try to modify it (to disable the last installed theme/plugin).
BUT,
If you edited the code then you may want to check this link for reference
http://wordpress.org/support/topic/calling-28-widgets-directly-from-templateplugin
Make sure the codes you’ve edited have all required arguments AND are called from proper location.
Dhanyawaad