WordPress.org

Ready to get started?Download WordPress

Forums

Theme Test Drive
Error message on WP 3.3.2 (3 posts)

  1. Taylor
    Member
    Posted 1 year ago #

    Just installed version 2.8.3 of the Theme Test Drive plugin on WordPress 3.3.2 and got this error message:

    Fatal error: Call to undefined function wp_get_themes() in /home/clients/055/htdocs/wp-content/plugins/theme-test-drive/themedrive.php on line 262

    I'm going to find another plugin to use for now, but I can't update WordPress on this site at the moment. In case that's the solution.

    http://wordpress.org/extend/plugins/theme-test-drive/

  2. mhoiland
    Member
    Posted 1 year ago #

    I had the same issue, and fixed it by replacing a few lines of code in the file themedrive.php

    Start by replacing the green lines with the red lines listed here:
    https://github.com/roblandry/theme-test-drive/commit/11f090267f5d1fabdf528a6719cf8855c6c9c0fb

    Then, on line 213, replace:
    $theme_data = wp_get_theme($theme);
    with:
    $theme_data = get_current_theme($theme);

  3. wesphaedra
    Member
    Posted 1 year ago #

    The above solution worked great! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.