• Resolved kronda

    (@ephany)


    I updated Wicked Folders and afterward my course page built with Thrive Apprentice wouldn’t show up. The error is pasted below:

    Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /www/wp-content/plugins/wicked-folders/lib/class-wicked-folders-admin.php:118 Stack trace: #0 /www/wp-content/plugins/wicked-folders/lib/class-wicked-folders-admin.php(176): Wicked_Folders_Admin->admin_enqueue_scripts() #1 /www/wp-includes/class-wp-hook.php(286): Wicked_Folders_Admin->wp_enqueue_media(”) #2 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #3 /www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /www/wp-includes/media.php(3662): do_action(‘wp_enqueue_medi…’) #5 /www/wp-content/plugins/thrive-apprentice/inc/functions.php(1045): wp_enqueue_media() #6 /www/wp-includes/class-wp-hook.php(286): tva_frontend_enqueue_scripts(”) #7 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #8 /www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #9 /www/wp-includes/script-loader.php(1435): do_action(‘wp_enqueue_scri…’) #10 /www/wp-includes/class-wp-hook.php(286): wp_enqueu in /www/wp-content/plugins/wicked-folders/lib/class-wicked-folders-admin.php on line 118

    I’ve deactivated the plugin for now.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    Hi @ephany,

    Thanks for reporting this problem and sorry for the issue. After reviewing the problem, we believe the issue is being caused by the Thrive Apprentice plugin calling the wp_enqueue_media() function too early. We’ve gone ahead and implemented a work-around in our plugin that prevents the fatal error you describe from occurring when wp_enqueue_media() is called too early.

    Would you be willing to try updating Wicked Folders to 2.7.2 and confirming that the problem is resolved for you?

    I will send a message to Thrive Themes so they can investigate on their end as well.

    Thanks again!

    Thread Starter kronda

    (@ephany)

    Fixed! Thank you! I also posted in the Thrive Support Forums. Thanks so much for the quick fix on this.

    Cheers,

    Kronda

    Plugin Author wickedplugins

    (@wickedplugins)

    Great, thanks for confirming!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error after upgrading to 2.7.1’ is closed to new replies.