• I just installed and tried running the latest Theme Check and got this fatal error:

    Fatal error: Uncaught Error: Call to undefined function get_theme_data_from_contents()
    in /***/public_html/wp-content/plugins/theme-check/checks/style_tags.php on line 12 Call stack: Style_Tags::check()
    wp-content/plugins/theme-check/checkbase.php:114
    run_themechecks()
    wp-content/plugins/theme-check/checkbase.php:83
    run_themechecks_against_theme()
    wp-content/plugins/theme-check/main.php:27
    check_main()
    wp-content/plugins/theme-check/theme-check.php:66
    ThemeCheckMain::themecheck_do_page()
    wp-includes/class-wp-hook.php:310
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:334
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-admin/admin.php:259
    require_once()
    wp-admin/themes.php:10
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @madtownlems ! That error looks like it’s referring to files from an older version of the theme-check plugin. Can you check what version you’re running and share that here?

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    Heya. So while I had installed the latest version, I had simply dropped it on top of a previous one. As such, the old style_tags.php check was still there and trying to run. A complete delete and reinstallation of the current version has resolved it. Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function get_theme_data_from_cont’ is closed to new replies.