Adding error_log temporarily for debugging purposes (specifically for picking variation).