Tagged: Fatal Error
- This topic has 1 reply, 2 voices, and was last updated 3 years, 11 months ago by
acmesupports.
- AuthorPosts
- March 4, 2019 at 10:03 am #47179
Kaushal Bajaj
ParticipantFatal error: Uncaught Error: Call to undefined function wp_get_active_and_valid_themes() in /home/eu6i0hrszljb/public_html/sleepapneapune.com/wp-settings.php:477 Stack trace: #0 /home/eu6i0hrszljb/public_html/sleepapneapune.com/wp-config.php(101): require_once() #1 /home/eu6i0hrszljb/public_html/sleepapneapune.com/wp-load.php(37): require_once(‘/home/eu6i0hrsz…’) #2 /home/eu6i0hrszljb/public_html/sleepapneapune.com/wp-blog-header.php(13): require_once(‘/home/eu6i0hrsz…’) #3 /home/eu6i0hrszljb/public_html/sleepapneapune.com/index.php(17): require(‘/home/eu6i0hrsz…’) #4 {main} thrown in /home/eu6i0hrszljb/public_html/sleepapneapune.com/wp-settings.php on line 477
I’m getting this error on my website: http://www.sleepapneapune.com
Please correct it asap.
Email: [email protected]March 5, 2019 at 6:28 am #47274acmesupports
ModeratorDear Kaushal Bajaj,
wp_get_active_and_valid_themes() is a private core function, which means plugins and themes aren’t supposed to use it. It’s also defined on wp-load.php. This most likely indicates one of two things.1) Your WP Installation isn’t valid. Reinstall the most recent version of WordPress and it should fix itself.
2) If you’re attempting to use WordPress functions outside of WordPress (for example, in a custom PHP file), you’re not properly loading in wp-load.php with require_once( ‘path/to/your/wp-load.php’ );
- AuthorPosts
- You must be logged in to reply to this topic.