Thesis Tutorial: Deleting Preferences and Resurrecting Them Again

thesis-binary

I have been working within WordPress for a few years and with Thesis since the start of 2009.

Recently I upgraded my version of Thesis to the latest ‘stable’ release, verison 1.5. I had been running version 1.4.2 just fine and had been playing around with some of the beta versions too. However, somewhere along the way things got a bit “mucked up.” My teasers were not showing on my website.

I had been writing a new tutorial for unlimited custom sidebars and ran into this issue that got me sidetracked. I thought the experience would be good to chronicle and publish as a tutorial. So if you ever need to “clean out” your Thesis install but want to keep all your settings in place, this is the tutorial for you.

What Was The Deal?

I wanted to use the ‘teaser’ function in Thesis and when I tried I would get the following error showing up on my home page wherever a ‘teaser’ should show:

Warning: call_user_func(thesis_teaser_1) [function.call-user-func]: First argument is expected to be a valid callback in /home/4395/domains/berchman.com/html/wp-content/themes/thesis/lib/functions/teasers.php on line 65

Needless to say this was a bit frustrating. Whenever things don’t just work it’s a pain.

First thing I did was to re-download Thesis and do a clean install. This did not help. Still had the errors.

I changed my theme to the default and back to Thesis, still no luck.

I went to the superb Thesis forums and was able to get the help of kingdomgeek, the Thesis OpenHook creator, who got me off on the path that provided my solution.

So What Did You Need To Do?

It was an easy solution once I figured it out. I needed to delete the entries in my WordPress database that pertained to Thesis.

You need to have access to your database. I use an application called PHPMyAdmin that allows me GUI access to the database.

Most webhosting companies have a tool that will allow you to access and edit your database.

Disclaimer!

One caveat. This procedure is not for the faint of heart. If you are not comfortable mucking around in a database then I suggest getting in touch with someone who is. You may be able to send these instructions to your webhost and have them do this for you. Again, if you have any doubts, don’t say I did not warn you!

What’s Next?

There were a total of four entries I deleted from the “‘wp-options’ table in my database.

  1. thesis_options
  2. thesis_design_options
  3. thesis_widgets
  4. thesis_widget_subscriptions

In your case I believe you will not see the ‘widget’ entries:

First step was to login to admin, go to design options for Thesis and open that in a new browser tab. I then opened Thesis options in another browser tab. This way I could see all of my current settings. (Do NOT close these tabs!! You will need them open to retain memory of your settings).

Once that is done I then go to themes and activated the WordPress default theme. I then confirmed that I had that running by visiting my live website.

Not showing Thesis? Good, proceed.

Then I log into PHPMyAdmin to manage my database . I went to the WordPress database . Then to the table wp_options.
Then browse the table by sorting the option_name(s) so that all the thesis_[name] options show up together. I checked the boxes then clicked the red “X” button and deleted those DB entries.

After that I went back into “themes” and activated Thesis. Visited the blog to confirm that Thesis is indeed running. Yes!

Then I went back to Thesis options and compared the new options page to the previous settings I have opened in the tab from the beginning. I went through step-by-step and re-activated all the settings as I had them previously. I then repeated the process for the “design options” tab as well making sure that all the checkboxes and pulldown menus matched what I had previously.

Everything checked out as it should and I am now running properly. I now have my teasers and features showing as they should.

Hope this helps.

Do you need help with your website?

If you are a web designer or web developer needing help, or a 'do-it-yourselfer' looking for a professional Internet presence I can help. If you need help with a specific WordPress issue or a complete website, I offer consultation, complete web design, and web development services. Get in touch and we can talk about your needs and start the process.

, , ,

Do you need a WordPress consultant? Someone with experience?

I specialize in making WordPress work for people.

If you need help with a specific WordPress issue, I offer consultation, complete web design, and web development services.

Get in touch and we can talk about your needs and start the process.

  • I’ve run into a similar issue a few times, all while adding Thesis to brand new sites.

    Apparently, the stuff that installs Thesis for you after activating the theme wasn’t completing successfully, although no errors were reported. The “thesis options” page showed unchecked options and empty boxes, and the “design options” displayed an error about an empty array being passed to the teasers options function. The only thing that had changed on the wp_options table was the “current_theme,” which was now set to “Thesis.”

    The fix in this case was to delete that row from wp_options, then visit the “thesis options” page and hit save. This makes all the default entries for thesis into the table. At this point both option screens behave as expected.

  • I’ve run into a similar issue a few times, all while adding Thesis to brand new sites.

    Apparently, the stuff that installs Thesis for you after activating the theme wasn’t completing successfully, although no errors were reported. The “thesis options” page showed unchecked options and empty boxes, and the “design options” displayed an error about an empty array being passed to the teasers options function. The only thing that had changed on the wp_options table was the “current_theme,” which was now set to “Thesis.”

    The fix in this case was to delete that row from wp_options, then visit the “thesis options” page and hit save. This makes all the default entries for thesis into the table. At this point both option screens behave as expected.

  • TAO

    I wish I came across your way of retaining preferences before I did the DB “cleaning”. Had a slightly different error and went through all the logical steps such as you described. It took deleting those rows to fix things up. However, I had to renter all my options since I ain’t too bright.

  • TAO

    I wish I came across your way of retaining preferences before I did the DB “cleaning”. Had a slightly different error and went through all the logical steps such as you described. It took deleting those rows to fix things up. However, I had to renter all my options since I ain’t too bright.

  • Great tip! I have struggled with the teaser error for two hours until I find this tip. Now, teaser display option finally works on my blog.

    Thanks!

  • Great tip! I have struggled with the teaser error for two hours until I find this tip. Now, teaser display option finally works on my blog.

    Thanks!

  • I’ve been writing stuff down on paper. Duh, I didn’t think to open another tab and leave it open. Some times the simpliest solution evades me. Thanks again.

  • I’ve been writing stuff down on paper. Duh, I didn’t think to open another tab and leave it open. Some times the simpliest solution evades me. Thanks again.

  • I’ve been having trouble figuring out how to control how many full posts – or posts with the “more” tag – show up on the front page. I think I’d like more than two – but in any case I’d like to control it – and am having trouble finding it in the user’s manual. Any thoughts, suggestions?

    J.

  • I’ve been having trouble figuring out how to control how many full posts – or posts with the “more” tag – show up on the front page. I think I’d like more than two – but in any case I’d like to control it – and am having trouble finding it in the user’s manual. Any thoughts, suggestions?

    J.

  • Pingback: Berchman.com – Thesis tutorials()

  • Thank you so much for this! I moved about 100+ pages to posts, but thesis still showed all the original pages in the nav drop down menu.

    I followed this exactly and it worked great.

  • Hi Suzanne, Glad this helped.

  • Hi Suzanne, Glad this helped.

  • Hi Suzanne, Glad this helped.

  • Pingback: The Huge Thesis Compilation| Skins , Resources , Tutorials()

  • Gabriel

    Thanks

    very helpfull

    Gabriel