spacer

"A Funny Thing Happened on the Way to Columbine" now available

In 2005, I got a lot of anger and frustration out of my system by writing the first draft of a novel. Six years, nine rewrites and polishes, dozens of "we like it but... uh... no" rejections, and one annoying hack of a literary agent later, that story is now available. Seeking revenge against a...

read more
spacer

Fixing the “Back My Book” theme when WordPress 3.4 breaks it.

by Pab on July 3, 2012 - 10 comments

I love WordPress. It makes life so much easier. And they update it regularly for security patches and to fix bugs.

Unfortunately, from time to time they break a lot of shit, too.

I “upgraded” my blog to WordPress 3.4 a while back and started getting this handy little message whenever I tried to get to my dashboard:

Cannot redeclare class Custom_Image_Header in /wp-admin/custom-header.php on line 16

Nifty, huh? And because it broke my dashboard I couldn’t do anything about it.

Well, after much hacking, smacking, wailing and gnashing of teeth, etc., I got it working. Especially since one of the fixes in 3.4.1 was NOT a fix to unbreak what they broke.

And, as I tend to do in these circumstances, I like to share.

This file includes patched versions of the two .php files that break the “Back my Book” theme. Download it, and extract the two files as follows:

  1. Extract “custom-header.php” to your /wp-admin/ directory.
  2. Extract “theme.php” to your /wp-includes/ directory.

Then go to your blog and access your dashboard. Voila.

Hopefully the authors will eventually fix the theme themselves, but in the mean time kludge away.

This entry was posted in Uncategorized. Bookmark the permalink.

10 Responses to Fixing the “Back My Book” theme when WordPress 3.4 breaks it.

  1. spacer Mandy says:
    July 3, 2012 at 7:02 pm

    Pab – THANK YOU! You just saved me!

    Reply
  2. spacer Antonio says:
    July 5, 2012 at 9:50 am

    I did a fresh clean install of WP , then added the theme, it crashed, follow your instructions and now getting another error:

    Fatal error: Class ‘Custom_Image_Header’ not found in /home/modelos/public_html/portal/wp-includes/theme.php on line 1360

    Reply
  3. spacer Matt Milano says:
    July 11, 2012 at 11:49 am

    Pab, thanks a million!

    Reply
  4. spacer Jason Ansley says:
    July 13, 2012 at 7:26 am

    AWESOME! Thank you. I was sweating this as well! But thank you for sharing!
    Jason Ansley
    ansleyRDgroup
    www.ansleyRDgroup.com
    Building Generous Business

    Reply
  5. spacer Craig says:
    July 31, 2012 at 8:27 pm

    Thanks for this patch. I was really hoping it would just work. I tried this update but my theme doesn’t have a wp-include folder. I tried adding one but I’m still getting error messages. Any idea on what I may be doing wrong.

    www.joanfriedlander.com/wp-admin/

    Thanks

    Reply
    • spacer Pab says:
      August 3, 2012 at 11:42 am

      The wp-includes folder isn’t under your theme, it’s under the wordpress root folder (or, in your site’s case, your main directory).

      Reply
  6. spacer Andreas says:
    August 3, 2012 at 11:28 am

    THANK YOU

    Reply
  7. spacer Amanda says:
    August 12, 2012 at 6:27 am

    Thanks, everything seems to be working fine again on my theme again.

    Reply
  8. spacer Jordan says:
    August 17, 2012 at 2:21 pm

    WHEW! Thank you for this. Even though I had to go and hunt down an .zipx program (not a lot, I know, but I was already pretty aggravated with the entire Internet at that point). Works perfectly now.

    If we do change to another theme, do we need to change these files back to the originals?

    Reply
  9. spacer Ellen says:
    August 29, 2012 at 10:13 am

    Thank you so much for this posting! I can finally log back into the dashboard.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a class="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Donate

    Make a donation

    spacer
  • Recent Comments

    • Baltimore Comic-con! | The PaBlog on The World’s Crappiest Sketch Artist
    • Chris on Follow-up to those “Card Services” scam calls I posted about.
    • Temujin Watt? Hu’s on first! | Temujin Hu's Blog on Hu’s On First
    • josh on Dealing with the two most annoying bugs in iOS 5
    • Mikey on Follow-up to those “Card Services” scam calls I posted about.
  • Calendar

    September 2012
    S M T W T F S
    « Aug    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • Blogroll

    • GoComics GoComics – they publish my strip.
    • Post Modern Barney
    • The New Adventures of Queen Victoria My comic strip at its own site.
  • Stuff Pab thinks you might find interesting

    spacer

    The Susan G. Komen Foundation: Why It Sucks.

    Note: I started writing this piece almost four years ago, in March of 2008. I... read more

    spacer

    Dealing with the two most annoying bugs in iOS 5

    UPDATE: OCTOBER 15, 2011: Please read through the comments on this entry. Some... read more

    spacer

    How Not to Write a Comic Book: “Mr. Terrific #1″ (DC New 52)

    Until I actually picked up and read "Mr. Terrific #1" I could honestly have... read more

    spacer

    How to Save Music Radio

    The death of the former top-rated music station in the market has pushed some... read more

    spacer

    “Go To Hell” now available in paperback, hardback, Kindle, and Nook

    My Young Adult novel Go To Hell is now available is paperback, hardback , and... read more

    spacer

    “Star Trek:” Why It Sucks (Part One)

    In the interest of full disclosure, I really wanted to hate this movie. I... read more

    spacer

    Giant Nerd Battle Royale: The Starship Enterprise Vs. Space Battleship Yamato!

    Somewhere, out in deep space, the Starship Enterprise, NCC-1701-D, is... read more

    spacer

    The Catcher In The Rye: Why It Sucks

    After re-reading portions of Rumpled Trenchcoats and Rubber Bullets while... read more

© 2012 The PaBlog

Back My Book Theme Author: Writer Website Themes © 2012

© 2010-2012 2,000 Monkeys With Typewriters, LLC. All Rights Reserved. No portion may be reproduced or redistributed except as specified by prior, written permission. -- Copyright notice by Blog Copyright

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.