Conversation
supportI get this error when I try to open malware scan page PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-content/plugins/wp-malware-removal/wpmr.php:4445\nStack trace:\n#0 /var/www/html/wp-content/plugins/wp-malware-removal/wpmr.php(1972): WPMR_Init->update_setting()\n#1 /var/www/html/wp-content/plugins/wp-malware-removal/wpmr.php(2080): WPMR_Init->get_definitions()\n#2 /var/www/html/wp-includes/class-wp-hook.php(303): WPMR_Init->scanner_page()\n#3 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()\n#4 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action()\n#5 /var/www/html/wp-admin/admin.php(259): do_action()\n#6 {main}\n thrown in /var/www/html/wp-content/plugins/wp-malware-removal/wpmr.php on line 4445 Any solution for this ?
Hi The problem you mentioned is caused due to non array element assigned to variable. It can be fixed by adding an if condition as below. $arr = get_option( 'plugin_functionality' ); if ( ! $arr ) { $arr = array(); } This reply was modified 4 years, 8 months ago by hamidraja . This reply was modified 4 years, 8 months ago by hamidraja .
Did you update the malware definitions?
Resolving due to no response.
Hi The problem you mentioned is caused due to non array element assigned to variable. It can be fixed by adding an if condition as below. $arr = get_option( 'plugin_functionality' ); if ( ! $arr ) { $arr = array(); } This reply was modified 4 years, 8 months ago by hamidraja . This reply was modified 4 years, 8 months ago by hamidraja .
Did you update the malware definitions?
Resolving due to no response.