Support » Plugin: Import External Images » PHP Notice: has_cap called with depreciated argument

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author MartyThornley


    I do not have it on githib. But could?

    Feel free to send me your thoughts at

    That would be quite nice… then we could, you know, collaborate and be all open sourcey, and what have you. In the mean time, I can send you the updated version, should you like to take a look-see.

    Plugin Author MartyThornley


    Yeah, I am after WAY too long, finally revisiting my presence here on the repo. Glad to see some nice responses and ideas here. I look forward to seeing what you have!

    I was really excited about this plugin since I just migrated my 6yo blog from Typepad to WordPress ( and none of the images from the 1500 posts show up in the media library. However, It’s not working for me and I’m not sure what I might be doing wrong. I get this at the top of my site:

    Notice: Constant EXTERNAL_IMAGES_DIR already defined in /var/www/ on line 37 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    And more error messages inside the Media / Import page.

    Any ideas on how to move forward?

    Plugin Author MartyThornley


    Both messages should be fixed but should not break anything. Sounds like you have a high level of debug error messages turned on.

    Probably the same with any messages you see in the admin area since it seems to work. It just has some notices that will get printed out to the screen depending on your debug levels.

    However it does mean I have some cleaning up to do. 🙂

    Oh and it is on github now:

    Plugin Author MartyThornley


    Github is updated with both messages fixed. Will update repo soon.

    Marty, so I decided to give it another try. I’ve been running it and refreshing the screen for 4 hours now and it’s still now finished. Does that sound normal? I don’t know how many photos I have but 1500 posts x between 1 and 10 photos… Also, in the right hand side of the screen where it should list the photos by title according the instructions at it says this

    Process all posts
    Notice: Undefined index: extension in /var/www/ on line 308 Notice: Undefined index: extension in /var/www/ on line 308 Notice: Undefined index: extension in /var/www/

    Over and over and over.

    What do you think? Should I keep going with this and refreshing the screen every time it stops or do you think I have a problem and need to stop?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Notice: has_cap called with depreciated argument’ is closed to new replies.