• Resolved goranpro

    (@goranpro)


    Hi,

    i transfered a website to a new domain using the Duplicator plugin.
    After that i installed the Media File Renamer.

    For some reason all the images appear as “Automatically renamed” (see here https://ibb.co/dtwjLV ) with no option to rename them.

    I also tried to use the function bellow that normaly forces the plugin to propose a new image filenames and enable the “auto rename” but it has no impact.

    add_filter( ‘mfrh_new_filename’, ‘my_filter_filename’, 10, 3 );
    function my_filter_filename( $new, $old, $post ) {

    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    Are those files locked? If yes, you should visit the Renamer Dashboard and Unlock all files ??

    Thread Starter goranpro

    (@goranpro)

    Hi,

    no, they are not locked (you cann see from the image).
    I also tried to press the “Unlock All”. Still the same.
    I also tried to manually lock an image and then unlock it (still no autorename option) by image.

    • This reply was modified 6 years, 3 months ago by goranpro.
    Plugin Author Jordy Meow

    (@tigroumeow)

    Can you share a screenshot of your Media Library?

    Thread Starter goranpro

    (@goranpro)

    Hi,

    this is a screenshot from my Media Library:
    https://ibb.co/dtwjLV

    Thread Starter goranpro

    (@goranpro)

    I did some further testing. Maybe it has to do with the PHP version because if I move the site on the same server that runs on PHP 5.6.38 it works. But when i move the site to the server that runs on PHP 7.2.12 it is not working. I even tried to do some “echo” in the “mfrh_new_filename” filter and nothing is printed to the screen(on PHP 5.6 the string is prined near the image name by every image in Media Library).

    • This reply was modified 6 years, 3 months ago by goranpro.
    Plugin Author Jordy Meow

    (@tigroumeow)

    That’s very odd, as I haven’t been working with PHP 5.6 for some time now, I am doing everything with PHP 7. The plugin definitely works perfectly with PHP 7 right now, so this hiccup feels a bit weird, or it might come from something else?

    If I share with you a fresh install, could you try to replicate the bug on it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Autorename not working’ is closed to new replies.