• Resolved jvalks

    (@jvalks)


    Hi,

    I encounter the following issue;

    When I import/restore/migrate a site to a new test-domain, everything looks ok. But.. when I upload a PNG (transparant background) to the Media Library, it shows as a blank image. I tested it on the original site, and no problem.

    Today I restored another site, and I have the same issue. Only with PNG files…
    When I backup this site with All In One Backup & Migration, do a fresh restore it works….Any idea on this? There are no errors during the import/restore.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support tonyrobins

    (@tonyrobins)

    Hello @jvalks

    Please first try to set the value of the ‘upload_path’ in the Options table of the destination site database to ‘null’ (after migration) and see if it solves the problem.

    If that does not work, can you please send us a debug zip to contact(at)wpvivid.com to help identify the problem? You can find the debug zip from the plugin’s Debug tab.

    All the best,

    Thread Starter jvalks

    (@jvalks)

    Hi,

    Setting it to Null did not work… I used this query and that solved the issue:

    DELETE FROM wp_options WHERE option_name LIKE ‘upload_path’

    After this it works like a charm. Is this a bug?

    Plugin Support tonyrobins

    (@tonyrobins)

    Hi @jvalks

    Thanks for your update.

    Sorry that I should have been clearer, set the value of the ‘upload_path’ to ‘null’ means to delete the option name of the ‘upload_path’.

    This is actually not a bug, because by default, this value should always be null in WordPress so it will automatically match the upload_path of the destination site during the migration. But when the ‘upload_path’ of the source site is set to an absolute path for example, …/test/wp-content/uploads, the problem will occur after migration.

    With that being said, we will try to figure out a solution to detect and automate the process in the future.

    All the best,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PNG issues after migration’ is closed to new replies.