@hchonov
I have fixed 1 and 2
I tested by removing point 3 $allowed_formats =...

Contribution Date
Technology
Contribution Project
Contribution Details

@hchonov
I have fixed 1 and 2

I tested by removing point 3 $allowed_formats = array_filter($allowed_formats_setting);
and tested manually. It seems worked fine for me.
still we can get some inputs from @eiriksm

Contribution Author
Files count
2
Patches count
1