• Resolved MpfJared

    (@mpfjared)


    We just recently switched to two-site architecture and I believe this is the first time anyone has added a user since then. We have separate themes on each site and wp-activate.php is crashing in the theme header.php when they try to access elements of $gantry. Here are the two error messages:
    Fatal error: Call to a member function displayHead() on a non-object in /asa/web/kindlearts.ca/web/wp-content/themes/rt_hybrid_wp/header.php on line 14
    Fatal error: Call to a member function get() on a non-object in /asa/web/kindlearts.ca/web/wp-content/themes/rt_ximenia_wp/header.php on line 24

    And corresponding lines of code, respectively:
    $gantry->displayHead();
    $gpreset = str_replace(' ','',strtolower($gantry->get('name')));

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Switch to a different theme and see if that works.

    Thread Starter MpfJared

    (@mpfjared)

    Huh, I didn’t bother to try that because they’re separate themes, but you’re right – it worked! I guess RocketTheme is doing something in common in all their themes that breaks. I’ll report the bug to them.

    Thank you.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Just FYI, the theme on your main site impacted the network settings 🙂 So that’s why it can sometimes get daft.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp-activate.php Crashing in theme/header.php’ is closed to new replies.