Hello,
Please try this solution – https://www.8theme.com/topic/error-500-when-using-theme-customizer/#post-255792
Regards