Title: The Night Bug ;)
Last modified: July 4, 2024

---

# The Night Bug ;)

 *  Resolved [Tobi](https://wordpress.org/support/users/meintobi/)
 * (@meintobi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/the-night-bug/)
 * In the Night, i think a Scanbot or something else, generated this Error:
 * Ein Fehler vom Typ E_ERROR wurde in der Zeile 515 der Datei /var/www/vhosts/domain/
   httpdocs/public/plugins/kadence-blocks/includes/settings/class-kadence-blocks-
   settings.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function
   get_current_screen() in /var/www/vhosts/domain/httpdocs/public/plugins/kadence-
   blocks/includes/settings/class-kadence-blocks-settings.php:515

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [architalevelup](https://wordpress.org/support/users/architabasandrai20/)
 * (@architabasandrai20)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/the-night-bug/#post-17869638)
 * Hi [@meintobi](https://wordpress.org/support/users/meintobi/) 
   I’m glad you reached
   out. I’d be happy to help. I couldn’t replicate the issue on my end, and we haven’t
   received similar reports.
 * The error indicates that the “get_current_screen()” function has been called,
   but it’s undefined. This issue typically arises if some of the plugin files are
   incomplete.
 * Did you update the plugin recently, or have you enabled automatic updates? If
   so, there might be an issue with the update process and some of the plugin files
   are broken or incomplete. Please do the following:
    1. _**Create a website backup**_. If you do not know how to do this, reach out 
       to your hosting provider to help you with it.
    2. Delete the Kadence Blocks plugin.
    3. Re-install and activate the plugin again.
 * Let us know if we can help you further.
   Best Regards,Archita
 *  Thread Starter [Tobi](https://wordpress.org/support/users/meintobi/)
 * (@meintobi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/the-night-bug/#post-17869724)
 * Ah, okay, thx. i have re-installed the plugin, and I am waiting for the night
   😉
 * yes, i use the auto-updates.
 *  Plugin Support [architalevelup](https://wordpress.org/support/users/architabasandrai20/)
 * (@architabasandrai20)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/the-night-bug/#post-17869735)
 * Hi [@meintobi](https://wordpress.org/support/users/meintobi/)
 * Thanks for the update. Please let us know how it goes.
 * You can also submit a support ticket via the following channels:
    - FREE Users: [https://www.kadencewp.com/free-support-tickets/](https://www.kadencewp.com/free-support-tickets/)
    - Premium Users: [https://www.kadencewp.com/premium-support-tickets/](https://www.kadencewp.com/premium-support-tickets/)
 * If you need further assistance, please don’t hesitate to reach out to us again.
 * Regards,
   Archita
 *  Thread Starter [Tobi](https://wordpress.org/support/users/meintobi/)
 * (@meintobi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/the-night-bug/#post-17872435)
 * It is a Bot that’s scan much Files/Directories (i see in the Logs) and then comes
   this Error 1-3x:
 * It always Starts with kadence-blocks…
 * AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined
   function get_current_screen() in /var/www/vhosts/domain/httpdocs/public/plugins/
   kadence-blocks/includes/settings/class-kadence-blocks-settings.php:515\nStack
   trace:\n#0 /var/www/vhosts/domain/httpdocs/wp-includes/class-wp-hook.php(324):
   Kadence_Blocks_Settings->print_gutenberg_style()\n#1 /var/www/vhosts/domain/httpdocs/
   wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#2 /var/www/vhosts/
   domain/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /var/www/
   vhosts/domain/httpdocs/wp-includes/general-template.php(3050): do_action()\n#
   4
 *  [jackmac71](https://wordpress.org/support/users/jackmac71/)
 * (@jackmac71)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/the-night-bug/#post-17931110)
 * I have a similiar issue, is there a plugin who can Scam Bots stop?
 *  Plugin Support [karlalevelup](https://wordpress.org/support/users/karlalevelup/)
 * (@karlalevelup)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/the-night-bug/#post-18018747)
 * Hi!
 * The error is related to a function `get_current_screen()` which is not available
   in the context where it’s being called. This function is a part of the WordPress
   admin screen functions, and it generally isn’t available in contexts where WordPress
   admin functions are not loaded.
 * Circling back here to confirm if you can still see these error messages on your
   logs. Is there any plugins on your website that could view an edit post screen
   on a specific schedule?
 *  Plugin Support [karlalevelup](https://wordpress.org/support/users/karlalevelup/)
 * (@karlalevelup)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/the-night-bug/#post-18032320)
 * Hi, @meintobi , [@jackmac71](https://wordpress.org/support/users/jackmac71/) !
 * Just checking in on this topic. Do you still need assistance here?
 * If you’re all set, I’ll mark the topic as resolved. If you still need help, just
   reply to this thread and we’ll stay with you until everything is resolved.
 * Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘The Night Bug ;)’ is closed to new replies.

 * ![](https://ps.w.org/kadence-blocks/assets/icon-256x256.png?rev=3178382)
 * [Kadence Blocks — Page Builder Toolkit for Gutenberg Editor](https://wordpress.org/plugins/kadence-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kadence-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kadence-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/kadence-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kadence-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kadence-blocks/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [karlalevelup](https://wordpress.org/support/users/karlalevelup/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/the-night-bug/#post-18032320)
 * Status: resolved