Hola darayaq. Prueba a meterlo sin los tag de PHP, sin el <?php del principio y sin el ?> del final. No se cómo está tu functions.php y puede que tengas el tag sin cerrar. Quedaría así:
define('FS_METHOD','directem);
No, en la que hay en el tema activo: wp-content/themes/nombre_de_tema/functions.php
Me pasaba lo mismo, lo solucioné incluyendo en functions.php la siguiente línea.
< ?php define('FS_METHOD','directem); ?>