Parse error: syntax error, unexpected T_FUNCTION in ../customizer.php on line 78

Getting this in logs, site produces 500 error:

PHP Parse error: syntax error, unexpected T_FUNCTION in /public_html/wp-content/themes/blaskan/inc/customizer.php on line 78

Commented out lines 76 through 92 and site works again.

Please fix.

Hi there

Hope you are having a good day and thank you for your question
Make sure you have everything updated including theme, plugin, and WordPress if you still have this problem use this plugin to create temporary access for us, its automatic login link and does not requires sharing your admin details. here is How To guide. at the and don’t forget about  “Set as private reply” at the bottom of the message box