• Ma Tasse de Thé

  • Méditations, doutes et illuminations d’un amateur de thé…

Forum
Error


Current User: Guest
  • This forum allows Guest Users to post
  • Guests may not subscribe to email notifications
  • Posts by Guest Users will be moderated prior to publishing
Login
Search 
Search Forums:


 
Current Forum
All Forums
Match Any Word
Match All Words
Match Phrase

UserPost

10:25
octobre 21, 2008

Kurt

Guest

When I try to upload images I keep getting this error. I am using WordPress version 2.6.2.

 

Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘media_admin_css’ was given in /users1/web/dvnc/web/wp-includes/plugin.php on line 311

 

Any ideas???

 

 


3:25
octobre 23, 2008

Michael Brandon

Guest

I agree - I have this bug too. Be great to get it fixed.

And also be great to be able to upload images direct to the gallery rather than only via the posts/pages.

For instance, I am adding images to links, and need them resized…


12:26
novembre 1, 2008

Maxi

Guest

any body solve the problem ?

 


3:14
novembre 6, 2008

silverscorpio

Guest

Yes same bug is there and is that there no admin to reply for this issue ?

 

How to Fix this bug ?

Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘media_admin_css’ was given in /users1/web/dvnc/web/wp-includes/plugin.php on line 311

We hope for this admin will reply with fixing code, 


3:57
novembre 11, 2008

ade

Guest

same here on 2.6.3, but only on a blog in a subdomain. still working on another installation which is in the root

 

shame this plugin died :(


6:58
décembre 2, 2008

k009ris

Guest

I think i fixed it

add this function:

function media_admin_css() {
    wp_admin_css(’css/media’);
}

to media.php file located in

/your-wp-folder/wp-admin/includes/

 i’m new to wp and wanted something easy with lots of plugins…aint nothing easy..

i agree this is a great plugin , the problem is it`s compatibile with v.2.5 and in 2.6.3 (i use) 

function media_admin_css does not exist .so i copied it from wp 2.5 and it  seems to work.

use it on your risk though as i was just shooting in the dark , dont know wp at all and dont really want to dig in it all that much.

cheers 

kris

 

 


1:42
décembre 8, 2008

tobo

Guest

Well, I got rid of the first error message, but got this instead:

 

Warning: Division by zero in /…/wp-admin/includes/media.php on line 4


8:36
décembre 10, 2008

k009ris

Guest

tobo said:

Well, I got rid of the first error message, but got this instead:

 

Warning: Division by zero in /…/wp-admin/includes/media.php on line 4


Hi

do not copy paste code from here.

this forum automaticaly replaces single quotation marks with ‘

put regular single quotation marks around css/media in the function 

kris

 

 


6:53
décembre 15, 2008

The Fan

Guest

The fix works on WordPress 2.7, too. Just tried it :)

Thanks for the great plugin!


1:36
février 12, 2009

Russ

Guest

I just installed the Flexible Upload plugin and immediately got the same error message. Googled it and found my way to this thread. Copied and installed the fix (above) and it instantly solved the problem. All within about five minutes! Thank you so very much! 


3:31
décembre 2, 2009

Martino

Guest

Post Awaiting Approval by Forum Administrator


Reply to Post


Reply to Topic: Error

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 10 + 12        (Required)

Topic Reply:


 



About the Ma Tasse de Thé forum

Currently Online:

1 Guest

Maximum Online: 51

Forums:

Groups: 1

Forums: 3

Topics: 145

Posts: 479

Members:

There are 1 members

There are 206 guests

Antoine has made 130 posts

Top Posters:


Simple Forum - Version 2.1 (Build 236)

Simple Forum WordPress Plugin created by Andy Staines: Yellow Swordfish

Forum Skin/Icons: default / default

Default 'Silk' Icon Set created by Mark James: fam fam fam

Math Spam Protection based on code by Michael Woehrer: Software Guide

Tabbed Admin uses Tabifier by Patrick Fitzgerald: BarelyFitz Designs


My thanks to all the people who have aided, abetted, suggested and helped test this plugin


Comments are closed.