• Hello,
    I have still problem with images and files upload direct from 2.5 and now in 2.6

    I put proper htaccess files into main directory and into wp-admin directory.

    By opening add image window – I have above error:
    “Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘media_admin_css’ was given in /blog/wp-includes/plugin.php on line 311”

    Files are uploaded properly to /uploads directory into /main root of the blog, who I had have to change years ago int settings (in 2.5 uploading didnt working or files where uploaded in different catalogs at random places on server, nevermind)
    Files existed in propper place. Proper to settings changed by me – please notice.

    But media gallery and upload engines give that fresh uploaded files non-propper adress, who isnt /main/uploads/ but /main/wp-content/uploads/

    Strange behaviour – I move files manually for experiment to /main/wp-content/uploads/
    Now if I put that (before a while uploaded) file from upload engine or from media gallery in write post mode – “a href” is ok but “<img src> is empty, what gives me proper working link to my uploaded files moved into /main/wp-content/uploads/, but without that file in post – link is empty of course no image – whats going on?!

    So, where is problem?
    What I have to change to have thumbs and propper adresses to my files uploaded – I really hate change all pics adresses manually still and dont use management on my uploaded files.

  • The topic ‘Upload images – wrong adress by wp engine function.call-user-func-array error’ is closed to new replies.