If you need to deactivate a WordPress plugin but cannot do it from the WordPress admin panel, you can deactivate it through phpMyAdmin. Below is a detailed step-by-step guide on how to do it.
Access phpMyAdmin
Log in to your hosting control panel and access your hosting management. From there, locate the phpMyAdmin section. Click the "Access" button to open phpMyAdmin. How to access phpMyAdmin from the panel
Go to your WordPress database
Find the database used by your WordPress website in the list of available databases. Click on the database name to access it. How to find out which database your WordPress uses
Click on wp_options
Once inside the database, look for the table "wp_options" (the prefix may vary, but it will end in _options) and click on it to view its contents:

Find the active_plugins entry
To deactivate active plugins, go to page 2 of the wp_options table and locate the row where the option_name is active_plugins.
Once you find it, click on "Edit" as shown in the image:

Deactivate the plugins
Finally, delete all the content in the option_value field and replace it with the following text:
a:0:{}After entering this value, click on "Continue" to save the changes:

By doing this, all active plugins will be deactivated. You can then try accessing your WordPress admin panel again and reactivate the plugins one by one to identify which one was causing the issue.