Hello,
I just had a similar problem with a theme I developed. Once I had enabled any plugin, my customize functions would not work. I had to increase the memory size in wp-config.php Add thisdefine( 'WP_MAX_MEMORY_LIMIT', '256M' );
to wp-config.php right before the line that says that’s it stop editing