Conflict with the Redirection plugin
-
I’m using the Royal Elementor theme and I installed the Redirection plugin (which is a popular plugin for 301 redirects). However, when I tried to proceed to the settings of the Redirection plugin, the system prompted an error message, and the log of this error is as follows.
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /srv/htdocs/wp-content/themes/royal-elementor-kit/inc/activation/class-welcome-notice.php:55
Stack trace:
#0 /srv/htdocs/wp-content/themes/royal-elementor-kit/inc/activation/class-welcome-notice.php(306): REK_Welcome_Notice->get_plugin_status(‘elementor/eleme…’)
#1 /srv/htdocs/wp-content/themes/royal-elementor-kit/inc/activation/class-welcome-notice.php(292): REK_Welcome_Notice->render_notice_content()
#2 /wordpress/core/6.6.1/wp-includes/class-wp-hook.php(324): REK_Welcome_Notice->render_notice(”)
#3 /wordpress/core/6.6.1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /wordpress/core/6.6.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /wordpress/core/6.6.1/wp-admin/admin-header.php(303): do_action(‘admin_notices’)
#6 /wordpress/core/6.6.1/wp-admin/admin.php(239): require_once(‘/wordpress/core…’)
#7 /wordpress/core/6.6.1/wp-admin/tools.php(40): require_once(‘/wordpress/core…’)
#8 {main} thrown in /srv/htdocs/wp-content/themes/royal-elementor-kit/inc/activation/class-welcome-notice.php on line 5I tried again by changing the theme to another one and went through the setup of Redirection smoothly and switched back to Royal Elementor afterwards.
However, the Welcome message is now showing on the page of Redirection and I can’t close it.
- You must be logged in to reply to this topic.