• Resolved Aljnk

    (@aljnk)


    After Update

    Fatal error: Uncaught Error: Call to undefined function get_current_screen() in …/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-wp-widget.php:81

    Add this before 81 line
    require_once(ABSPATH . ‘wp-admin/includes/screen.php’);
    works good.

    Please, fix for future update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    @aljnk thank you for reporting this and suggesting the change. No one has reported this before despite the widget being used extensively. To understand why its happening for you, could you please let us know the following?

    • what version of WP are you using?
    • have you included the widget using a page builder or some other tool? which one?
    • add a screenshot/screen recording of the process you use to add the widget
    Thread Starter Aljnk

    (@aljnk)

    1. WP 5.3.2
    2. This error appears on all pages even if they do not have your shortcode. In the admin panel too.
    The website just crashed.

    Plugin Contributor contactashish13

    (@rozroz)

    @aljnk could you please share an error log? You can ask your provider or your admin where the logs are generated. One more think I would recommend is disabling all plugins and trying with the default WP theme – that should help you find out if there is a conflict with another component.

    Thread Starter Aljnk

    (@aljnk)

    [13-Feb-2020 04:05:18 America/New_York]
    PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in …/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-wp-widget.php:82
    Stack trace:
    #0 …/wp-content/plugins/fusion-builder/inc/helpers.php(2379): feedzy_wp_widget->form(Array)
    #1 …/wp-content/plugins/fusion-builder/inc/helpers.php(2348): fusion_get_widget_data()
    #2 …/wp-content/plugins/fusion-builder/shortcodes/fusion-widget.php(492): fusion_get_available_widgets()
    #3 …/wp-includes/class-wp-hook.php(288): fusion_element_widget(”)
    #4 …/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #5 …/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #6 …/wp-settings.php(545): do_action(‘wp_loaded’)
    # in …/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-wp-widget.php on line 82

    Plugin Contributor contactashish13

    (@rozroz)

    @aljnk thanks! We will schedule this patch for the next release. Keep an eye out for it!

    If you are satisfied with our product and support, kindly spare a moment to leave us a review. It would really help us spread the word!

    I receive the same error too. I am using WP 5.3.2 and Avada 6.2.

    Plugin Support rodicaelena

    (@rodicaelena)

    Hi,

    This was actually fixed from Avada, with the lastest Avada Update and Patch #417606.

    Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.