• Resolved dleigh

    (@dleigh)


    Hi,

    my php-errors.log file is filled with this line:

    PHP Warning: Undefined array key "dll" in /********…*******/public_html/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php on line 2057

    Any idea of what the issue might be?

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@dglingren)

    Thank you for your report. I regret the trouble you’re having with MLA’s MIME Type support.

    The “dll” file extension should be present by default in MLA’s list of supported file extensions/MIME Types. It looks like this entry somehow went missing from your system. I will fix the code that generates the wwrning message, but in the interim you can stop the messages by updating the list.

    First, just to confirm my diagnosis, see if the dll type is indeed missing or damaged:

    1. Navigate to the Settings/Media Library Assistant Uploads tab.
    2. Enter “.dll” (without the quotes) in the search box and click “Search Uploads”.
    3. See if the dll extension appears in the table area.

    If the table is empty you can add the dll file type; see below. If the entry is there, look for the file icon in the Extension column; what does it show?

    To repair a damaged icon:

    1. Hover over the Extension column and click on the “Quick Edit” rollover action.
    2. In the IconType dropdown list select “exec_wine”. If you don’t see that entry, select “exec”
    3. Click “Update” to save the settings.

    To add the dll file type, if missing:

    1. Scroll to the bottom of the page and click “Search Known Types”.
    2. Enter “dll” in the text box and click “Search Types”. You should see two entries in the table.
    3. Hover over the second entry in the Extension column (with the “application/x-msdownload” MIME Type).
    4. Click “Select” to add the entry to the list.

    I will leave this topic unresolved for now. Please let me know if the above suggestions confirm my diagnosis and help you correct the problem. Thanks for alerting me to this problem and for your interest in the plugin.

    Plugin Author David Lingren

    (@dglingren)

    I have released MLA v3.13, which contains the fix that avoids the PHP error messages in the log. I am marking this topic resolved, but please update it if you have problems or further questions regarding the handling of the .dll file extension, or if you have answers to any of the questions I posed in my last post. Thanks for your patience in awaiting the new release.

    Thread Starter dleigh

    (@dleigh)

    Yeah, the message seems to have disappeared. I didn’t try to do the icon repair until today and it didn’t seem to need it. So, sorry, don’t really have an answer to your question but it all seems good now. Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined array key “dll” filling up log’ is closed to new replies.