• Resolved emboldtyler

    (@emboldtyler)


    We’re on PHP 8.1 and WordPress 6.2.2. Haven’t been able to update the plugin since version 5.5.4.1. Every time I update to any newer version than that, the Worpdress Admin returns a fatal error and won’t load:

    Fatal error: Uncaught Error: Undefined constant “ALM_NAME” in /home/user/code/app/wp-content/plugins/ajax-load-more-seo/ajax-load-more-seo.php:169 Stack trace: #0 /home/user/code/app/wp-includes/class-wp-hook.php(308): ALMSEO->alm_seo_settings() #1 /home/user/code/app/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /home/user/code/app/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /home/user/code/app/wp-content/plugins/ajax-load-more/admin/functions/settings.php(175): do_action() #4 /home/user/code/app/wp-includes/class-wp-hook.php(308): alm_admin_init() #5 /home/user/code/app/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /home/user/code/app/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/user/code/app/wp-admin/admin.php(175): do_action() #8 /home/user/code/app/wp-admin/index.php(10): require_once(‘…’) #9 {main} thrown in?/home/user/code/app/wp-content/plugins/ajax-load-more-seo/ajax-load-more-seo.php?on line?169

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @emboldtyler,
    The ALM_NAME constant was removed a few releases ago but I think your specific issue is the SEO add-on could be out of date. Is it possible to update it?

    ajax-load-more-seo/ajax-load-more-seo.php Line #169

    What version are you running? If your subscription has expired you’ll just have to modify the plugin code directly to remove the reference to ALM_NAME.

    Let me know if this helps.

    Thread Starter emboldtyler

    (@emboldtyler)

    Oh right I didn’t even catch the seo in the path.

    ajax-load-more | 5.5.4.1
    ajax-load-more-repeaters-v2 | 2.4.2
    ajax-load-more-seo | 1.5

    Looks like the add-ons are no longer activated, so that makes sense. Thank you for the input.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined constant “ALM_NAME”’ is closed to new replies.