• Resolved nossfloda

    (@nossfloda)


    Hi David
    I get “Warning: Invalid argument supplied for foreach() in /srv/users/serverpilot/apps/naturfotografnu/public/wp-content/plugins/media-library-assistant/includes/class-mla-main.php on line 921”
    on sites where I use WPML as it seems.
    It show up when uploading new images when “crunching” starts.

    I have a test site with the problem that you can use. Let me know which address to send login to.

    TIA

    Kristian

    https://www.ads-software.com/plugins/media-library-assistant/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter nossfloda

    (@nossfloda)

    Stack trace from New Relic (not the demo site but a live one)

    /public/wp-content/plugins/media-library-assistant/includes/
    class-mla-main.php (921)
    …/public/wp-content/plugins/media-library-assistant/includes/
    class-mla-main.php (1115)
    …c/wp-content/plugins/media-library-assistant/includes/
    class-mla-edit-media.php (488)
    in MLAEdit::mla_update_attachment_metadata_postfilter called at ? (?)
    …d at /srv/users/serverpilot/apps/naturfotografnu/public/wp-includes/
    plugin.php (213)
    …blic/wp-content/plugins/media-library-assistant/includes/
    class-mla-options.php (2183)
    in MLAOptions::mla_update_attachment_metadata_filter called at ? (?)
    …d at /srv/users/serverpilot/apps/naturfotografnu/public/wp-includes/
    plugin.php (213)
    …led at /srv/users/serverpilot/apps/naturfotografnu/public/wp-includes/
    post.php (4947)
    …/srv/users/serverpilot/apps/naturfotografnu/public/wp-admin/includes/
    media.php (364)
    …t /srv/users/serverpilot/apps/naturfotografnu/public/wp-admin/
    async-upload.php (88)

    Thread Starter nossfloda

    (@nossfloda)

    Further testing, yes, if I deactivate WPML, uploading works again.

    Plugin Author David Lingren

    (@dglingren)

    Thank you for your report and for all the detailed log message and stack trace information you have provided; very helpful.

    I believe you are encountering the same issue reported in this recent topic:

    I can’t uploads files – v2.12

    I have made some updates to the MLA Development Version to correct that problem. It would be great if you can try the latest Development Version and let me know if it works for you. If that is not possible you can avoid the problem by disabling the “Bulk Edit on Upload” feature as described in the earlier topic.

    If the Development Version does not fix the problem I can work with you to activate more detailed debug logging and investigate further. If you send me your contact information and I will respond with an email address where you can send login credentials, error log content and any other information you think helpful. You can use the Contact Us page at the FTJ web site:

    Fair Trade Judaica/Contact Us

    Do not post your e-mail address in the forum; personal details in a public forum violates WordPress guidelines. If you have trouble accessing the FTJ site, post a note here with your country of origin and I can temporarily unblock it.

    Thank you for your help and your patience in awaiting my response.

    Plugin Author David Lingren

    (@dglingren)

    I have just released MLA version 2.13, which contains the fix required to resolve the PHP message issue.

    I am marking this topic resolved, but please update it if you have any problems with the new release. Thanks for your patience and your interest in the plugin.

    Thread Starter nossfloda

    (@nossfloda)

    Hi David

    Thanks, updated, it worked with Bulk upload, but found another bug. The thumnails in MLA listing are to big. I’ve sent a screen cap to fair trade judaica.

    Cheers

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your report and for working with me offline to investigate and correct this issue.

    I have uploaded a new Development Version dated 20150728 that contains the fix. It also contains a number of WordPress 4.3 updates.

    Please let me know if you get a chance to try this Development Version and encounter any further problems.

    Thread Starter nossfloda

    (@nossfloda)

    Hi David
    Works like a charm! Thumbnails OK, Bulk Import OK! Looking forward to the update so I can patch all my sites.

    I don’t have a 4.3 staging site setup yet so don’t know how well it works in the new version. Will test in a week or so when it’s been released and before updating all my sites.

    And once again thanks for a superb plugin and support.

    Plugin Author David Lingren

    (@dglingren)

    I have released MLA v2.14, which contains the fix for your Thumbnails issue. Please let me know if you have any further problems with the fix, and thanks for your interest in the plugin.

    Thread Starter nossfloda

    (@nossfloda)

    Hi David

    Thanks, will update my sites and let you know.

    Thread Starter nossfloda

    (@nossfloda)

    Works perfectly on 3 tested sites, thanks David.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Warning on line 921’ is closed to new replies.