Taylor
Member
Posted 8 months 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/
mhoiland
Member
Posted 7 months 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);
wesphaedra
Member
Posted 5 months ago #
The above solution worked great! Thanks!