• Error details
    ===================================
    An error with type E_ERROR occurred on line 265 of the file

    public_html/wp-content/plugins/kadence-blocks/dist/settings/class-kadence-blocks-settings.php.

    Error message: Uncaught Error: Call to undefined function get_current_screen() in /home/samumray/public_html/wp-content/plugins/kadence-blocks/dist/settings/class-kadence-blocks-settings.php:265
    Stack trace:
    #0 public_html/wp-includes/class-wp-hook.php(307): Kadence_Blocks_Settings->print_gutenberg_style(”)
    #1 public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(Array, Array)
    #2 public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #3 public_html/wp-includes/general-template.php(3042): do_action(‘wp_head’)
    #4 public_html/wp-content/themes/basic/header.php(9): wp_head()
    #5 public_html/wp-includes/template.php(770): require_once(‘/…’)
    #6 public_html/wp-includes/template.php(716): load_template(‘/…’, true, Array)
    #7 public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #8 public_html/wp-content

Viewing 4 replies - 1 through 4 (of 4 total)
  • hannah

    (@hannahritner)

    Hi,
    Thanks for reaching out! I haven’t heard of others encountering this. Can you tell me what version of Kadence Blocks you’re running? Are you up to date on WordPress and your theme?

    Kindly,
    Hannah

    Thread Starter WP_8

    (@samumray)

    Hello
    I often get this message from wordpress@domain with the subject “The site is having technical problems”

    Maybe it’s a conflict with other plugins. I can’t help you further with your investigation, please take this message as information about the problem.

    I am sending you the whole text of the message. I put “domain” instead of the domain name and its part. There may be inaccuracies, because part of the text is translated:

    Hello!
    
    Starting with version 5.2, WordPress can detect errors that occur with plugins or the theme on the site and send you such messages automatically.
    
    This time WordPress found a bug with one of the plugins - Kadence Blocks - Gutenberg Blocks for Page Builder Features.
    
    First go to your site (https://domain/) and check for any visible problems. Next, go to the page where the error occurred (https://domain/wp-admin/admin.php?page=miwoftp&option=com_miwoftp&action=download&dir=/&item=wp-config.php&order=name&srt=yes) and check for visible problems on it.
    
    Please contact your hosting technical support for further troubleshooting of this issue.
    
    If your site is broken and you can't log into the console normally, you can now use a special "recovery mode" that will allow you to safely log into the console for further action.
    
    https://domain?action=enter_recovery_mode&rm_token=faEp7NjrnhOj1aBGrAHWOv&rm_key=75tPGdNc2gnzq1LL2SdXWv
    
    For security purposes, this link will expire after 1 day. But don't worry, if the error occurs again after this time, a new link will be sent to you.
    
    To solve the problem, you will need the following information:
    
    WordPress version 6.0
    Current Topic: Basic Child (version 1.3.12.1642286292)
    Problem plugin: Kadence Blocks – Gutenberg Blocks for Page Builder Features (version 2.4.10)
    PHP Version 7.4.30
    
    Error details
    ===================================
    An E_ERROR error occurred on line 265 of the /home/domain/public_html/wp-content/plugins/kadence-blocks/dist/settings/class-kadence-blocks-settings.php file. Error Message: Uncaught Error: Call to undefined function get_current_screen() in /home/domen/public_html/wp-content/plugins/kadence-blocks/dist/settings/class-kadence-blocks-settings.php:265
    Stack trace:
    #0 /home/domain/public_html/wp-includes/class-wp-hook.php(307): Kadence_Blocks_Settings->print_gutenberg_style('')
    #1 /home/domain/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(Array, Array)
    #2 /home/domain/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #3 /home/domain/public_html/wp-includes/general-template.php(3042): do_action('wp_head')
    #4 /home/domain/public_html/wp-content/themes/basic/header.php(9): wp_head()
    #5 /home/domain/public_html/wp-includes/template.php(770): require_once('/home/samumray/...')
    #6 /home/domain/public_html/wp-includes/template.php(716): load_template('/home/samumray/...', true, Array)
    #7 /home/domain/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #8 /home/domain/public_html/wp-content
    Thread Starter WP_8

    (@samumray)

    After changing the hosting, the problem disappeared.

    hannah

    (@hannahritner)

    Glad to hear the issue went away. Let us know if this comes up again!

    Kindly,
    Hannah

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘An error with type E_ERROR occurred on line 265 of the file’ is closed to new replies.