Archived topic
fatal error on iphone (Jetpack mobile is off)
3 replies · Started by Ashley Gainer on January 7, 2016
Hey, Tom --
I'm getting a fatal error on my site when using an iphone. Jetpack mobile is off and I'm not sure where else to look. Here's what the error message says:
Fatal error: Call to undefined function generate_main_class() in /home/ashleygainer/public_html/wp-content/plugins/gp-premium/addons/generate-sections/functions/templates/generate-sections-page-template/php on line 18
That's all Greek to me, but I assume it's self-explanatory to someone who knows a thing or two...
thanks for any help!
Hi there,
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.
Try updating: https://generatepress.com/knowledgebase/updating-add-ons/#manual-update
Thanks, Tom. Turns out I can't distinguish "on" from "off" in Jetpack, ergh. I turned it off for realz this time and of course everything's resolved. Thanks!
Great! Glad I could help :)
