Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Updating Core ALM immediately triggered fatal error

  • gecko_guy

    (@gecko_guy)


    Hi D,

    When I updated ALM to the latest version it resulted in a fatal error.

    It appears to be something related to the Ajax Load More Filters addon.

    When I renamed the Filters plugin (changed the folder name to “old-ajax-load-more-filters”) via sftp to disable it, the site became accessible again.

    Then renaming it back to the valid name and reactivating it from the plugins screen, the error was gone.

    Here is some information from the debug logs (removed domain name for privacy):

    [23-Apr-2020 22:46:25 UTC] PHP Fatal error:  Uncaught Error: Class 'EDD_SL_Plugin_Updater' not found in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-repeaters-v2/ajax-load-more-repeaters-v2.php:759
    Stack trace:
    #0 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(287): alm_unlimited_plugin_updater('')
    #1 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /sites/[domainname.com]/files/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /sites/[domainname.com]/files/public/wp-admin/admin.php(170): do_action('admin_init')
    #4 /sites/[domainname.com]/files/public/wp-admin/update.php(14): require_once('/sites/sandbox....')
    #5 {main}
      thrown in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-repeaters-v2/ajax-load-more-repeaters-v2.php on line 759
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dcooney

    (@dcooney)

    Hi Guy,
    Ok thanks for this. I haven’t had any other issues reported with the updates yet so I’ll see if anyone reports a problem before I dive in and see what could have been the issue.

    Thanks.

    gecko_guy

    (@gecko_guy)

    Oh, the logs above refer to the Custom Repeaters addon, so it could also have been that since I disabled them both the same way, although the cause is probably the same anyway.

    Here is more debug info in case it’s useful to track down the cause, and the environment is PHP7.3

    [23-Apr-2020 22:49:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function alm_do_inline_css() in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-filters/ajax-load-more-filters.php:385
    Stack trace:
    #0 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(287): ALMFilters->alm_filters_enqueue_scripts('')
    #1 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /sites/[domainname.com]/files/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /sites/[domainname.com]/files/public/wp-includes/script-loader.php(2294): do_action('wp_enqueue_scri...')
    #4 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts('')
    #5 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /sites/[domainname.com]/files/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /sites/[domainname.com]/files/public/wp-includes/gener in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-filters/ajax-load-more-filters.php on line 385
    [23-Apr-2020 22:49:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function alm_do_inline_css() in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-filters/ajax-load-more-filters.php:385
    Stack trace:
    #0 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(287): ALMFilters->alm_filters_enqueue_scripts('')
    #1 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /sites/[domainname.com]/files/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /sites/[domainname.com]/files/public/wp-includes/script-loader.php(2294): do_action('wp_enqueue_scri...')
    #4 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts('')
    #5 /sites/[domainname.com]/files/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /sites/[domainname.com]/files/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /sites/[domainname.com]/files/public/wp-includes/gener in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-filters/ajax-load-more-filters.php on line 385
    [23-Apr-2020 22:49:54 UTC] PHP Fatal error:  Uncaught Error: Class 'EDD_SL_Plugin_Updater' not found in /sites/[domainname.com]/files/public/wp-content/plugins/ajax-load-more-repeaters-v2/ajax-load-more-repeaters-v2.php:759
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updating Core ALM immediately triggered fatal error’ is closed to new replies.