Forums

[Plugin: Custom Upload Dir] notice error messages appear (2 posts)

  1. computerslayer1
    Member
    Posted 8 months ago #

    I was editing a theme, and I noticed that the custom upload dir plugin was throwing some notice messages about undefined indexes. After looking at the code on line 69, it looks like the $POST variables might need to be surrounded by !isset()

    Notice: Undefined index: Upload in C:\xampp\htdocs\wordpress\content\plugins\custom-upload-dir\custom_upload_dir.php on line 69
    
    Notice: Undefined index: html-upload in C:\xampp\htdocs\wordpress\content\plugins\custom-upload-dir\custom_upload_dir.php on line 69
    
    Notice: Undefined index: Upload in C:\xampp\htdocs\wordpress\content\plugins\custom-upload-dir\custom_upload_dir.php on line 69
    
    Notice: Undefined index: html-upload in C:\xampp\htdocs\wordpress\content\plugins\custom-upload-dir\custom_upload_dir.php on line 69
  2. ulfben
    Member
    Posted 8 months ago #

    Thanks for notifiying me. Please try the development version. (settings will not be preserved, so make sure you note your current ones)

Reply

You must log in to post.

About this Topic