This typically means two things:
1. GeneratePress isn’t activated (or Jetpack Mobile Theme is activated).
2. You’re using an old version of GP Premium
In the latest GP Premium, there’s a safeguard against this error if GP isn’t active for whatever you reason.