|
Current User: Guest
|
|
Error |
|
| Page: 1 |
| User | Post |
|---|---|
|
10:25 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 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 Maxi Guest
|
any body solve the problem ?
|
|
3:14 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 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 k009ris Guest
|
I think i fixed it add this function:
function media_admin_css() { 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 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 k009ris Guest
|
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 The Fan Guest
|
The fix works on WordPress 2.7, too. Just tried it Thanks for the great plugin! |
|
1:36 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 Martino Guest
|
Post Awaiting Approval by Forum Administrator |
| Page: 1 |
|
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 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