@zsujoker You have to tell the function to use the variable from the parent scope. The earlier answer is partially correct, but this form of the function works:
$new_excerpt_length = function($length) use ($excerpt_length){
return $excerpt_length;
};
I submitted a pull request to the plugin developer to fix it, hopefully he’ll update it.