• Resolved webrightnow

    (@webrightnow)


    Plugin causes a fatal error when clicking on theme customizer in the admin:

    Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home1/graceaft/public_html/newsite/wp-content/plugins/new-user-approve/includes/user-list.php:206 Stack trace: #0 /home1/graceaft/public_html/newsite/wp-includes/class-wp-hook.php(287): pw_new_user_approve_user_list->filter_by_status(Object(WP_User_Query)) #1 /home1/graceaft/public_html/newsite/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /home1/graceaft/public_html/newsite/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /home1/graceaft/public_html/newsite/wp-includes/class-wp-user-query.php(582): do_action_ref_array('pre_user_query', Array) #4 /home1/graceaft/public_html/newsite/wp-includes/class-wp-user-query.php(77): WP_User_Query->prepare_query(Array) #5 /home1/graceaft/public_html/newsite/wp-includes/user.php(579): WP_User_Query->__construct(Array) #6 /home1/graceaft/public_html/newsite/wp-content/themes/grace/inc/customizer.php(66): get_users(Array) #7 /home1/graceaft/public_html/newsite/wp-includes in /home1/graceaft/public_html/newsite/wp-content/plugins/new-user-approve/includes/user-list.php on line 206

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @webrightnow,
    Thank you for contacting us, We have tested the mentioned scenario on our stagging environment and we are unable to replicate this issue we have tested this on the default WordPress theme and it is working perfectly fine can you please let me know the theme you are using also please share the list of those plugins which are currently activated on your website so we can test accordingly.

    Thanks!

    Thread Starter webrightnow

    (@webrightnow)

    Hi, the theme is OnePress and the plugins that were active when I encountered the error were:

    AddToAny Share Buttons
    Advanced Custom Fields
    BackupBuddy
    Captcha Booster
    Classic Editor
    Event Organiser
    Gallery Custom Links
    GDPR Cookie Compliance
    Gravity Forms
    MemberPress Member
    New User Approve
    PayPal Donation
    Really Simple SSL
    Slider Revolution
    Velvet Blues Update URLs
    Yoast SEO

    Latest version of all plugins and WordPress 5.4.2–en_GB.

    Since then, I disabled the Member plugin and the New User Approve plugin, and installed Ultimate Member which provides a combination of those features, so I can’t debug things myself, but hopefully you can work it out.

    Thanks

    Hi @webrightnow,
    We have forwarded the details to the QA team we will get back to you once we hear back from them.

    Hi @webrightnow,
    As we have tested, there is an issue with One press themes when this theme is active, an error is displaying in customizers please have a look at the screencast video shared below.

    https://drive.google.com/file/d/1zxOVRpZGmWN1OLlp1t1wPDUXoT17m5KZ/view?usp=sharing

    Thread Starter webrightnow

    (@webrightnow)

    Ok thanks for testing, I suspected the theme was to blame. Unfortunately I can’t change theme, but I have found another solution for user approval.

    Hi @webrightnow,
    Thanks for bringing this to our attention, our team is testing if the issue is from our end we will fix it and release an update soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error in theme customizer’ is closed to new replies.