• The plugin loads media into the uploads folder, but does not add to the correct year/month folder. It creates a new folder, then adds a new subfolder within for each upload.

    My media settings are set to use year/month folders. Today, uploads should be in the uploads/2021/01 folder. Add this is creating odd folders, eg: “uploads/1610/58/files”, “uploads/1610/59/files”, “uploads/1610/60/files” etc.

    Using Add-this v3.4.5 with WP5.6 and php7.2

Viewing 1 replies (of 1 total)
  • There’s an error with setting the time in class.add-from-server.php.

    to fix this do these 2 edits:

    Around Line 160
    // Initially, Base it on the -current- time.
    //$time = time(); – COMMENT OUT OR DELETE THIS LINE
    $time=current_time(“Y/m”); // ADD THIS LINE

    Line 309
    // Construct the attachment array
    $time = time(); // ADD THIS LINE
    $attachment = [

    thanks,
    James @ startnet.co.uk

Viewing 1 replies (of 1 total)
  • The topic ‘Media Files Not Loading Into Year/month folders’ is closed to new replies.