Super Important News For All Genesis Users!
If you’re using a Dinosaur Stew theme, you’re using Genesis, so listen up! WordPress 4.6 was just released. This update has something in it that is not compatible with Genesis versions 2.3.0 and below. A new release of Genesis was released a few weeks ago that contains the fix, so if you’re running Genesis 2.3.1 (or above), you’re ready for WordPress 4.6. However, if you are running Genesis 2.3.0 or below, doing the WordPress 4.6 will crash your site. No one wants that, so make sure you update to Genesis 2.3.1 before doing the WordPress 4.6 update.
But WordPress 4.6 Already Crashed My Site! What Do I Do?
Don’t worry, the error is completely fixable and you’ve lost nothing, however, it will be a bit of a chore to fix. Sal Ferrarello has the fix if you didn’t manage to update to Genesis 2.3.1 before you upgraded to WordPress 4.6. You’ll have to have access to your site files via FTP or your hosting account’s cPanel or File Manager, so make sure you have knowledge on how to do that first.
Thanks for the “heads up”. I’ll pass along the word.
Super easy! I accidentally had auto-updates turned on but the fix was SIMPLE. Thanks!
Help! ๐
Unfortunately I didn’t saw this important news and updated wordpress before genesis… ๐
I tried to fix it with Sal Ferrarello s tips, but it still does not work… Now I get another error code:
“Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d507915940/htdocs/clickandbuilds/WordPress/Photoliebe/wp-content/themes/genesis/functions.php:447) in /homepages/6/d507915940/htdocs/clickandbuilds/WordPress/Photoliebe/wp-includes/pluggable.php on line 1174”
What should I do now? I can’t log in to my wordpress dashboard.. ๐
I already searched for a solution but all tips i found did not work..
Hi Linda, it sounds like the code may have been added incorrectly. Can you email me a copy of the edited functions.php file? Thanks!
I tried the advice on the link you shared and I still can’t login to the backend of my website. it’s the white screen of death. any suggestions? bluehost hasn’t been helpful ๐
Oh no! This fix definitely should work without a hitch if that’s the error code you’re receiving. Did you put the code in the functions.php file in the wp-content/themes/genesis folder?
i did. i just copied and pasted and added it below. and it still didn’t work ๐
is this the correct way to display it?
<?php
/*
WARNING: This file is part of the core Genesis Framework. DO NOT edit
this file under any circumstances. Please do all modifications
in the form of a child theme.
*/
/**
* This file calls the init.php file, but only
* if the child theme hasn't called it first.
*
* This method allows the child theme to load
* the framework so it can use the framework
* components immediately.
*
* This file is a core Genesis file and should not be edited.
*
* @category Genesis
* @package Templates
* @author StudioPress
* @license GPL-2.0+
* @link http://my.studiopress.com/themes/genesis/
*/
require_once( dirname( __FILE__ ) . '/lib/init.php' );
/**
* Disable Genesis CPT Archives
*
* This is useful to temporarily disable the Genesis CPT Archives,
* if you can not log into your WordPress site
* after updating to WordPress 4.6.
*
* See
* http://salcode.com/wp46/
* for more information.
*/
add_filter( 'genesis_cpt_archives_args', 'fe_modify_args_to_include_non_existant_name' );
function fe_modify_args_to_include_non_existant_name( $args ) {
$args['name'] = 'this-is-a-name-that-does-not-exist-resulting-in-no-matching-cpts';
return $args;
}
Yes, that looks correct. If you’ve added it in and you’re still getting the white screen of death when you try to login, it could be indicative of another issue. I’d look into disabling your plugins or theme to rule out an issue with that. Good luck!