\({\log _2}\left( {{x^2} + x-1} \right) = {\log _2}\left( {-x + 7} \right)\,\,\,\,\,\,\, \Leftrightarrow \,\,\,\,\,\,\,\left\{ {\begin{array}{*{20}{c}}{{x^2} + x-1 = -x + 7,}\\{-x + 7 > 0\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,}\end{array}\,\,\,\,\,\,\,\,\, \Leftrightarrow } \right.\)
\( \Leftrightarrow \,\,\,\,\,\,\,\left\{ {\begin{array}{*{20}{c}}{{x^2} + 2x-8 = 0,}\\{x < 7\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,}\end{array}} \right.\,\,\,\,\,\,\,\, \Leftrightarrow \,\,\,\,\,\,\, \Leftrightarrow \,\,\,\,\,\,\,\left\{ {\begin{array}{*{20}{c}}{\left[ {\begin{array}{*{20}{c}}{x = 2,}\\{x = -4}\end{array}} \right.}\\{x < 7}\end{array}\,\,\,\,\,\,\,\,\,\,\,\, \Leftrightarrow \,\,\,\,\,\,\,\,\,\left[ {\begin{array}{*{20}{c}}{x = 2,\,\,\,}\\{x = -4.}\end{array}} \right.} \right.\)
Следовательно, сумма корней уравнения равна: \(2 + \left( {-4} \right) = -2\).
Ответ: \(-2\).