Support » Plugin: Easy Updates Manager » An error of type E_ERROR was caused in line 403 of MPSUM_Disable_Updates.php

  • Resolved Larry Daniele

    (@larrydaniele)


    When going to the WordPress Dashboard > Updates page on my site, I get a fatal error email from WordPress:

    `When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7.2
    Current theme: Avada Child HCOM (version 1.3.9)
    Current plugin: Easy Updates Manager (version 9.0.8)
    PHP version 8.0.3

    Error Details
    =============
    An error of type E_ERROR was caused in line 403 of the file /home/holycowom/public_html/wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Disable_Updates.php. Error message: Uncaught TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given in /home/holycowom/public_html/wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Disable_Updates.php:403
    Stack trace:
    #0 /home/holycowom/public_html/wp-content/plugins/stops-core-theme-and-plugin-updates/includes/MPSUM_Disable_Updates.php(403): array_search()
    #1 /home/holycowom/public_html/wp-includes/class-wp-hook.php(292): MPSUM_Disable_Updates->http_request_args_remove_plugins_themes()
    #2 /home/holycowom/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters()
    #3 /home/holycowom/public_html/wp-includes/class-http.php(232): apply_filters()
    #4 /home/holycowom/public_html/wp-includes/class-http.php(608): WP_Http->request()
    #5 /home/holycowom/public_html/wp-includes/http.php(179): WP_Http->post()
    #6 /home/holycowom/public_html/wp-content/plugins/tag-groups/vendor/freemius/includes/class-freemius.php(23827): wp_remote_post()
    #7 /home/holycowom/public_html/wp-content/plugins/tag-groups/vendor/freemius/includes/class-fs-plugin-updater.php(920): Freemius::safe_remote_post()
    #8 /home/holycowom/public_html/wp-content/plugins/tag-groups/vendor/freemius/includes/class-fs-plugin-updater.php(614): FS_Plugin_Updater->fetch_wp_org_module_translation_updates()
    #9 /home/holycowom/public_html/wp-includes/class-wp-hook.php(294): FS_Plugin_Updater->pre_set_site_transient_update_plugins_filter()
    #10 /home/holycowom/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters()
    #11 /home/holycowom/public_html/wp-includes/option.php(1931): apply_filters()
    #12 /home/holycowom/public_html/wp-includes/update.php(354): set_site_transient()
    #13 /home/holycowom/public_html/wp-includes/class-wp-hook.php(292): wp_update_plugins()
    #14 /home/holycowom/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #15 /home/holycowom/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #16 /home/holycowom/public_html/wp-admin/admin.php(374): do_action()
    #17 /home/holycowom/public_html/wp-admin/update-core.php(10): require_once(‘/home/holycowom…’)
    #18 {main}
    thrown`

    This might be related to PHP 8 and stricter type checking. It seems related to the recently resolved Plugin tab says “There has been a critical error on this website.“ support thread.

    Deactivating the “Easy Updates Manager” plugin mitigates the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Thank you. This was previously reported, and reminds me to release EUM 9.0.9 – which I’ve now done; you should now find the problem gone. Sorry for the trouble!

    David

    Thread Starter Larry Daniele

    (@larrydaniele)

    Thanks, David. I can verify that EUM 9.0.9 solves the problem I was seeing.

    Much thanks for this very useful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.