Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/condobro/public_html/wp-includes/capabilities.php:668
Stack trace:
#0 /home/condobro/public_html/wp-content/plugins/realia/includes/post-types/class-realia-post-type-user.php(318): current_user_can('manage_options')
#1 /home/condobro/public_html/wp-includes/class-wp-hook.php(287): Realia_Post_Type_User::media_files(Object(WP_Query))
#2 /home/condobro/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#3 /home/condobro/public_html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
#4 /home/condobro/public_html/wp-includes/class-wp-query.php(1779): do_action_ref_array('pre_get_posts', Array)
#5 /home/condobro/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
#6 /home/condobro/public_html/wp-includes/class-wp-query.php(3559): WP_Query->query(Array)
#7 /home/condobro/public_html/wp-content/plugins/addon-elements-for-elementor-page-builder/inc/bootstrap.php(424): WP_Query->__construct( in /home/condobro/public_html/wp-includes/capabilities.php on line 668