• Resolved rachelmflowers

    (@rachelmflowers)


    I’m trying to add a new field and mapping rule for file name to be able to find duplicate files as instructed in this post: duplicate finder. However when i try to map the attachements I get 69% way through and then I get these errors:

    PHP Notice: unserialize() [function.unserialize]: Error at offset 136 of 401 bytes in {my personal filepath}/wp-content/plugins/media-library-assistant/includes/class-mla-options.php on line 2264
    PHP Notice: unserialize() [function.unserialize]: Error at offset 137 of 404 bytes in {my personal filepath}/wp-content/plugins/media-library-assistant/includes/class-mla-options.php on line 2264`

    not sure how to proceed. any ideas?

    https://wordpress.org/plugins/media-library-assistant/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for finding the earlier topic and giving it a try. Thanks as well for posting the full text of your PHP Notice messages; very helpful. I regret the trouble you’re having with the mapping functions.

    At first glance it looks like two of your Media Library items have some sort of corruption in their attachment metadata. Can you tell me if this is preventing the mapping of ALL your items or just a few of them? It looks like the first 69% are working and then the mapping stops; is that right?

    You can try applying the work-around from this earlier topic:

    Error When Adding Custom Field Mapping

    I will do some more investigating. Any additional information you can give me would be helpful. Thanks for your help and your interest in the plugin.

    Thread Starter rachelmflowers

    (@rachelmflowers)

    Yes, that was it. I deleted a custom post type that was no longer needed and some images were attached to those posts, so then they had broken meta data. Thank you! I cleaned out the erroneous images and now everything works.

    Plugin Author David Lingren

    (@dglingren)

    Thank you for your update with the good news, and for marking this topic resolved. I will try to handle broken meta data more gracefully in a future MLA version, but I am happy to hear you solved your immediate problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Field Mapping error for duplicates’ is closed to new replies.