• Resolved jamiechong

    (@jamiechong)


    I got this notice as soon as I activated the plugin:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    This is the output I get on the plugin page.

    Media Library contains 12 files in excess of 25.71 MiB

    Creating compressed file …
    Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush in /wp-content/plugins/downml/downml_settings_page.php on line 168

    Notice: Use of undefined constant ZipArchive – assumed ‘ZipArchive’ in /wp-content/plugins/downml/downml_settings_page.php on line 174
    done.

    Download File : medialibrary.zip (25.06 MiB)

    Note : This file is of type zip and can be extracted using any unzip application

    https://wordpress.org/plugins/downml/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author aneeskA

    (@aneeska)

    Hi

    Thank you for bringing this to my attention. Can you clarify a few things.

    1. Which version of wordpress are you using?
    2. The zip file – was it okay when you downloaded it?

    Thread Starter jamiechong

    (@jamiechong)

    WordPress v4.0
    The zip file seems okay, but it’s not in the structure I expected (maybe that’s by design though). I expect the folder structure to be the same as in wp-content/uploads. So for example images in 2014/09 2014/10, etc.
    It also only exports the original images and not the resized images. Also probably by design – I haven’t had a chance to use it properly yet.

    My use case for this plugin was for migrating content from one WordPress install to another.

    Plugin Author aneeskA

    (@aneeska)

    The plugin by design takes all the original media files and puts them into a zip file.

    If you want to migrate content you should be looking at export feature supported by wordpress.

    Thread Starter jamiechong

    (@jamiechong)

    I know this plugin isn’t used for migration – I usually use All-in-One Migration for that. I was hoping to use this plugin with another plugin I’m writing. No worries, it’s not for me, but you should get those notices fixed.

    Plugin Author aneeskA

    (@aneeska)

    I will fix the issue in the next release. Thank you for letting me know 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘getting a notice about deprecated function’ is closed to new replies.