I am having a similar issue – it has shut down my entire site! Here is my message: An error of type E_PARSE was caused in line 289 of the file
unexpected ‘array’ (T_ARRAY), expecting identifier (T_STRING)
Good news! The fix here is relatively simple. Go into the admin panel, click on plugins, and disable the WordPress Automatic Upgrade plugin. It appears to be causing the problem in most, if not all, cases. Afterwards, you should be able to install other plugins as normal.
cheers,
Chase Thompson
Pinson Church Blog
Tech Talk with Chase and Sam