Error - Acme Themes

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47179
    Kaushal Bajaj
    Participant

    Fatal 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]

    #47274
    acmesupports
    Moderator

    Dear 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’ );

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.