Error - Acme Themes


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

    Fatal error: Uncaught Error: Call to undefined function wp_get_active_and_valid_themes() in /home/eu6i0hrszljb/public_html/ Stack trace: #0 /home/eu6i0hrszljb/public_html/ require_once() #1 /home/eu6i0hrszljb/public_html/ require_once(‘/home/eu6i0hrsz…’) #2 /home/eu6i0hrszljb/public_html/ require_once(‘/home/eu6i0hrsz…’) #3 /home/eu6i0hrszljb/public_html/ require(‘/home/eu6i0hrsz…’) #4 {main} thrown in /home/eu6i0hrszljb/public_html/ on line 477

    I’m getting this error on my website:
    Please correct it asap.
    Email: [email protected]


    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.