twodinks.com

Fouled it up a bit

by on Jan.12, 2010, under Minutiae

Joe, I upgraded to Thesis 1.6 and in the process ended up with some PHP errors in the dashboard. I tried killing all themes but the default and reuploading Thesis (along with the customizations), but I’m still getting the errors. I’ll keep futzing with it…

Good news is that I got the tag cloud to show up in the footer. You didn’t have any arguments in the call. It also didn’t help that, before this post, we’ve never used tags.

:, ,

13 Comments for this entry

  • Joe

    Did you try commenting out line 339 in plugin.php ? I think you must have changed the password for the cpanel because I can’t login with the most recent one otherwise I would try it.

  • Other Jim

    Yeah, what he said. Just don’t touch line 247. That’s a keeper.

  • other Dave

    Have you tried the TK421?

  • maz

    339 – 340 whatever it takes.

  • Dave

    Sorry, Joe, I changed the cpanel p/w after we got hacked. Check your email for the new one. I can’t comment out 339, it has more than one argument in it and I suspect the whole thing will break. I just have to figure out why it’s calling a nonexistent CSS file.

    The rest of you mooks, if you think I should comment out this command, let me know:

    call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));

  • Dave

    Okay, this is irritating. If I switch to the default theme everything’s fine (although ugly), but switching back to Thesis gives me that error msg. What I don’t get is the call to ‘thesis_options_stylesheet’ giving us the error…it’s a fresh install of Thesis. Everything should be good to go.

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'thesis_options_stylesheet' was given in /home/twodin6/public_html/wp-includes/plugin.php on line 339

  • Dave

    Did you ever knoooow that you’re my heeeerooooo?

    What did you do?

  • Joe

    The error was in custom_functions.php. I commented out the line where it called that css file.

  • Dave

    Huh. Which line was that? I don’t see anything commented out.

  • Dave

    Oh and by the way, the Thesis developers, in all their wisdom, changed some CSS classes – particularly those governing #page and .menu – which messed up the layout. It’s been fun upgrading all my client sites and having to tweak everyone’s CSS. What’s the point of the custom folder if they’re going to change shit on us?

  • Other Jim

    call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));

    Ho, ha ha, guard, turn, perry, dodge, THRUST!

    “args”? Is that the secret pirate command line?

    TK421, why aren’t you at your post?

  • VJ

    Hello there everyone,

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘homepage_display_category_posts’ was given in /home/pharmacy/public_html/wp-includes/plugin.php on line 395

    I am having the same problem. Getting error with the thesis theme and site is fine with default theme. Please help me.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!