Open apintocr opened 7 years ago
I get the following error when I use this with Tailor Plugin (git repo link)
PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in \plugins\new-user-approve\includes\user-list.php:204 Stack trace: #0 \wp-includes\plugin.php(600): pw_new_user_approve_user_list->filter_by_status(Object(WP_User_Query)) #1 \wp-includes\class-wp-user-query.php(526): do_action_ref_array('pre_user_query', Array) #2 \wp-includes\class-wp-user-query.php(82): WP_User_Query->prepare_query(Array) #3 \wp-includes\user.php(556): WP_User_Query->__construct(Array) #4 \plugins\tailor\includes\helpers\helpers-general.php(62): get_users() #5 \plugins\tailor\includes\elements\class-user.php(51): tailor_get_users() #6 \plugins\tailor\includes\elements\abstract-element.php(285): Tailor_User_Element->register_controls() #7 \plugins\tailor\includes\elements\abstract-el in \plugins\new-user-approve\includes\user-list.php on line 204
Any Tips? NOTE: Also posted on Tailor Git Issues.
I get the following error when I use this with Tailor Plugin (git repo link)
Any Tips? NOTE: Also posted on Tailor Git Issues.