If the functions.php fails for some reason (i.e you duplicate functions within the main PHP file and those entered through a plugin for applying custom PHP code – for instance the “My Custom Functions” Plugin)
Here’s how to find the functions.php file through the File Manager in cPanel
https://hostadvice.com/how-to/how-to-edit-the-functions-php-file-using-cpanel/