• Resolved ntking

    (@ntking)


    Just tried to replace a PDF file from the media library and got a list of errors from the plugin. These include:

    Warning: Invalid argument supplied for foreach() in xxxx/enable-media-replace/classes/replacer.php on line 673
    Warning: Cannot modify header information – headers already sent by (output started at xxxx/enable-media-replace/classes/replacer.php:673) in xxxx/wp-includes/pluggable.php on line 1281

    I haven’t looked into the code but it suggests this might be to do with it trying to generate thumbnails for a PDF?

    Enable Media Replace version: 3.4.1
    WordPress version: 5.4.2

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi @ntking,

    Does it happen with only a specific PDF or with all PDFs?

    Also, can you deactivate all plugins excepte Enable Media Replace and try again? Does it work now?

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi there! We’ve fixed the issue in one of the latest versions, 3.4.2. Please feel free to check it out and let us know if you find any other issue!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PDF replace results in errors’ is closed to new replies.