Forums

[Plugin: Custom Upload Dir] no post ID to work with - error (3 posts)

  1. tobiasth
    Member
    Posted 3 years ago #

    hey!
    first of all - great plugin, i really like it! but its not working for me.
    upload and saving images in the custom folders works great, but when i try to edit/delete images, i only get the following error message:

    custom_upload_dir: no post ID to work with.

    i'm using wordpress 2.7

    many thx for your help.
    tobias

  2. ulfben
    Member
    Posted 3 years ago #

    Aight, I haven't had a lot of time with WP 2.7 yet so I'll iron this out properly at some later date.

    It seems like the filter is called a lot in WP 2.7, for seemingly upload-unrelated events (such as displaying gallery thumbnails...). Some of these events wont even provide a post id to work with.

    So for now I quickbail with the default path instead of reporting an error, hoping the path won't really be used for these wierd filter calls.

  3. tobiasth
    Member
    Posted 3 years ago #

    works now, thx alot!

Topic Closed

This topic has been closed to new replies.

About this Topic