postgres9.5: can't create extension on standby
As the error message says: the standby is read-only you can't run any statements on the standby that change things. 

If you need the extension on the standby you need to create it on the master