• Hi,

    After installing (version 2.2.4, PHP8.1), I’m getting this E_ERROR, when trying to open the settings page:

    2023-02-22T06:37:11+00:00 CRITICAL Uncaught Error: Undefined constant "AUTH_KEY" in /usr/local/lsws/page/html/wp-content/plugins/mobile-assistant-connector/mobassistantconnector.php:799
    Stack trace:
    #0 /usr/local/lsws/page/html/wp-includes/class-wp-hook.php(308): ma_connector->ema_option_scripts()
    #1 /usr/local/lsws/page/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #2 /usr/local/lsws/page/html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /usr/local/lsws/page/html/wp-admin/admin-header.php(118): do_action()
    #4 /usr/local/lsws/page/html/wp-admin/admin.php(239): require_once('...')
    #5 /usr/local/lsws/page/html/wp-admin/options-general.php(10): require_once('...')
    #6 {main}
      thrown in /usr/local/lsws/page/html/wp-content/plugins/mobile-assistant-connector/mobassistantconnector.php on line 799

    After adding

    define('AUTH_KEY', '123456789');

    to mobileassistantconnector.php the issue is fixed. Maybe you can update the plugin to fix at source.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author eMagicOne

    (@emagicone)

    Hi there.

    Thanks for your message.

    Please check if the AUTH_KEY constant is added to your wp-config.php file and let us know the result.

    Thread Starter cyrix2000

    (@cyrix2000)

    Hi,

    no there isn’t an AUTH_KEY constant in wp-config.php

    Plugin Author eMagicOne

    (@emagicone)

    Thank you for the reply.

    The error message you got is not related to Mobile Assistant Connector module specifically but to the missing AUTH_KEY (since it should be generated by WordPress during installation in wp-config.php file). You need to investigate the reason why this constant is missing, as it is used to generate a unique security key when interacting with plugins and third-party services.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CRITICAL Uncaught Error: Undefined constant “AUTH_KEY”’ is closed to new replies.