I tried to add a code snippet through a plugin wpcode. I do not care about that plugin, but now cannot access the admin panel and I have these errors:
`[Thu Mar 30 05:13:24.834360 2023] [php:error] [pid 3758] [client 79.119.201.128:62073] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “color_mywebsite_admin_color_scheme” not found or invalid function name in /var/www/html/wp-includes/class-wp-hook.php:308\nStack trace:\n#0 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#1 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#2 /var/www/html/wp-admin/admin.php(175): do_action()\n#3 /var/www/html/wp-admin/index.php(10): require_once(‘…’)\n#4 {main}\n thrown in /var/www/html/wp-includes/class-wp-hook.php on line 308, referer:` [`https://www.mywebsite.cc/`])
All I wanna do is get rid of the stupid plugin and whatever idiot thing I did, to be able to access the admin panel.
​
`color_mywebsite_admin_color_scheme`
I can’t seem to find this function call anywhere in php files, I wonder if it is stored in the database? I just need to delete it and uninstall all plugins.
[ad_2]
You can try initializing recovery mode with [domain.com/wp-login.php?action=entered_recovery_mode]) to disable the plugin. Alternatively, you can SFTP or FTP into the host and rename the plugin directory.