SEOAly

  • Home
  • About SEOAly
  • Services
    • Website Design
    • WordPress Website Maintenance & Security
    • SEO Audit
    • Keyword Research
  • Testimonials
  • Contact Me
  • Blog
You are here: Home / WordPress / GENESIS FIX – Fatal error: Call to undefined function genesis_upgrade_2007()

GENESIS FIX – Fatal error: Call to undefined function genesis_upgrade_2007()

By Alysson

Genesis FrameworkI recently attempted to upgrade the Genesis framework on one of my client’s staging sites.  I received the following error message, but was not able to find documentation of a fix through a quick Google search or via the StudioPress support forum:

Fatal error:  Call to undefined function genesis_upgrade_2007() … /wp-content/themes/genesis/lib/functions/upgrade.php on line 425

Since I couldn’t find a solution to my dilemma as quickly as I’d hoped, I went ahead and submitted a support ticket to StudioPress to see if they could offer a quick fix.  In the meantime, I decided to go ahead and do a little more troubleshooting on my own.  I decided to start by comparing the upgrade.php file on the broken installation to the upgrade.php file on a current working installation.

Here’s what I found in lines 385-429 of the recently upgraded upgrade.php file:

###########################
# UPDATE DB TO VERSION 1700
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘1700’ )
genesis_upgrade_1700();

###########################
# UPDATE DB TO VERSION 1800
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘1800’ )
genesis_upgrade_1800();

###########################
# UPDATE DB TO VERSION 1901
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘1901’ )
genesis_upgrade_1901();

###########################
# UPDATE DB TO VERSION 2001
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘2001’ )
genesis_upgrade_2001();

###########################
# UPDATE DB TO VERSION 2003
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘2003’ )
genesis_upgrade_2003();

###########################
# UPDATE DB TO VERSION 2005
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘2007’ )
genesis_upgrade_2007();

do_action( ‘genesis_upgrade’ );

}

And here’s what I found in lines 385-429 of the upgrade.php file on the working Genesis framework:

###########################
# UPDATE DB TO VERSION 1700
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘1700’ )
genesis_upgrade_1700();

###########################
# UPDATE DB TO VERSION 1800
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘1800’ )
genesis_upgrade_1800();

###########################
# UPDATE DB TO VERSION 1901
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘1901’ )
genesis_upgrade_1901();

###########################
# UPDATE DB TO VERSION 2001
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘2001’ )
genesis_upgrade_2001();

###########################
# UPDATE DB TO VERSION 2003
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘2003’ )
genesis_upgrade_2003();

###########################
# UPDATE DB TO VERSION 2005
###########################

if ( genesis_get_option( ‘db_version’, null, false ) < ‘2006’ )
genesis_upgrade_2006();

do_action( ‘genesis_upgrade’ );

}

See the difference?  Since the fatal error states “genesis_upgrade_2007()” is an “undefined function”, I decided to simply change the 2007 that appears in the borked upgrade.php file with 2006. VOILA! Success. And a less time-consuming fix than manually reinstalling the whole Genesis framework.

If you’re having the same issue after a recent upgrade to the latest version of Genesis, you may want to try the fix above to see if it resolves your issue. I can’t promise this fix will work for everyone, obviously… but it did work for me. And I hope it will work for you, too.

Good luck!

Filed Under: WordPress Tagged With: fatal error, genesis upgrade, genesis_upgrade_2007

About Alysson

I'm Alysson (a.k.a. "SEOAly") and I've been an active part of the search marketing industry since 2006. I offer affordable small business website design and search engine optimization services. I'm also a contributing author for several industry publications, including: Search Engine Journal, Search Engine People, Viral Conversations and Directory Journal.

Featured On…

SEO Feature on CBSMoneyWatch.com

Big List - Search Marketing Blogs

Because some SEO really IS bullshit

 

Recent Posts

  • Saying Goodbye to SEOAly
  • $250 Website For Progressive Political Candidates
  • So… you think you can’t afford a website, eh?
  • Add A Shortcode To A WordPress Text Widget – How To Guide
  • Small Business Saturday 2013 WordPress Website Design Special
  • GENESIS FIX – Fatal error: Call to undefined function genesis_upgrade_2007()
  • Testimonial – Joe Skilton, Professional Magician
  • w3 Total Cache & Canonical URL Issues
  • Plagiarize Me, Will Ya? Tsk-Tsk, Naresh Joshi
  • My First Webinar – TOMORROW!
  • Testimonial – Erika Napoletano, Redhead Writing
  • Testimonial – Bill & Kathy Duke, Awakening Recovery Center
  • Testimonial – Kelli Doré, Linda Blair WorldHeart Foundation
  • Testimonial – Josh Garner, SEO Factor
  • Outsourcing SEO to India – Dumbass 101

About Alysson

I'm Alysson (a.k.a. "SEOAly") and I've been a member of the search marketing industry since 2006. In 2008 I decided to start my own business and begin offering affordable small business website design and search engine optimization services. Learn more about me…

Social Media Profiles

Check Me Out On  TwitterCheck Me Out On  LinkedInCheck Me Out On  RSS

Subscribe via email!

Copyright © 2023 · SEOAly · Design by Alysson Fergison · Privacy Policy · Sitemap