I’m getting “Fatal error: Call to a member function toOptionArray() on a non-object” after installing Avalanche.

After installing Avalanche you may get this error if you have Compilation/Compiler Mode enabled.

Recompiling your code usually fixes this issue. To recompile your code, go to System > Tools > Compilation. Click the “Run Compilation Process” button and wait momentarily.