Template Button not working

To narrow it down, you could use the different flavours of safe mode to isolate it to a plugin or a theme/theme component.

Do you have any likely candidates that influence the composer in any way?