Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/capabilities.php:590 Stack trace: #0 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-content/plugins/inventor/includes/post-types/class-inventor-post-type-user.php(661): current_user_can('manage_options') #1 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/class-wp-hook.php(286): Inventor_Post_Type_User::media_files(Object(WP_Query)) #2 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #4 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/class-wp-query.php(1634): do_action_ref_array('pre_get_posts', Array) #5 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/class-wp-query.php(3230): WP_Query->get_posts() #6 /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/we in /home/clients/9e3cdb21f2ec5e58d5e227ab275beb6d/web/wp-includes/capabilities.php on line 590