Fouled it up a bit

by Dave on January 12, 2010

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.

{ 12 comments… read them below or add one }

Joe January 14, 2010 at 5:43 pm

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 January 14, 2010 at 8:43 pm

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

other Dave January 14, 2010 at 10:44 pm

Have you tried the TK421?

maz January 15, 2010 at 7:13 am

339 – 340 whatever it takes.

Dave January 15, 2010 at 10:27 am

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 January 15, 2010 at 11:09 am

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

Joe January 15, 2010 at 11:17 am

Fixed it :)

Dave January 15, 2010 at 11:32 am

Did you ever knoooow that you’re my heeeerooooo?

What did you do?

Joe January 15, 2010 at 11:35 am

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

Dave January 15, 2010 at 11:36 am

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

Dave January 15, 2010 at 11:38 am

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 January 16, 2010 at 7:09 am

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?

Leave a Comment