Parse error: parse error, unexpected ‘[‘, expecting T_PAAMAYIM_NEKUDOTAYIM in _____ on line 30

T_PAAMAYIM_NEKUDOTAYIM is Hebrew, and it refers to PHP’s scope resolution operator (“::”). If you get this message, it means PHP sees a class name and expects you to access it with the scope resolution operator.

In my case, the problem was that I was referencing a PHP variable without a dollar sign, so PHP thought it was a class name. Oops!