CRITICAL Uncaught Error: Undefined constant “AUTH_KEY”
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CRITICAL Uncaught Error: Undefined constant “AUTH_KEY”’ is closed to new replies.