• Resolved jeynon

    (@jeynon)


    Looks like I can upload images just fine but when I try and add captions, descriptions etc… I get this error message. I am not sure if I should be focusing on the mla or somewhere else. Never seen it before!

    Warning: Invalid argument supplied for foreach() in /home/uwrwa/public_html/wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 1346
    Warning: Cannot modify header information – headers already sent by (output started at /home/uwrwa/public_html/wp-content/plugins/media-library-assistant/includes/class-mla-data.php:1346) in /home/uwrwa/public_html/wp-includes/pluggable.php on line 876

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

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

    (@dglingren)

    That’s really odd – I can’t match that error to my source code. It does look like an MLA issue, however.

    If you go to the Settings/Media Library Assistant screen, what version number does it show in the screen title?

    Thread Starter jeynon

    (@jeynon)

    Version 1.20

    If I deactivate, I am able to submit ok.

    Thread Starter jeynon

    (@jeynon)

    Just updated to 1.30. Same error.

    Thread Starter jeynon

    (@jeynon)

    Plugin Author David Lingren

    (@dglingren)

    Thank you for following up with the version number, which allowed me to match your report to an earlier support topic:

    Warning Message – class-mla-data.php on line 1398

    Briefly, MLA has detected a problem in one or more of your [mla_gallery] or [gallery] shortcodes. I’ve added a warning message in the upcoming version 1.40 which will give you more detailed information about where the problem occurs; it has nothing to do with the images you’re uploading and editing. The edits you’re making to the uploaded image should not be affected.

    There is more information in the above-mentioned topic. Version 1.40 will be out shortly. Thanks for your patience!

    Thread Starter jeynon

    (@jeynon)

    Thanks David. I handed the project off to the client to fill in content so there is a good chance the have improper syntax in some shortcode somewhere. I will have them review and see if we can find it!
    Thanks for your response.
    Jon

    Thread Starter jeynon

    (@jeynon)

    So in looking at all of our shortcode, they all appear just fine. I do notice the client is using the full name of the categories and not the slug name. Would that do it? They have a lot of shortcodes so I don’t want to have them change until we know something. How about the blank post_mime_type

    Here is an example of their shortcode:
    [mla_gallery attachment_category=’Maps of Key Resources’ mla_align=’left’ post_mime_type=” mla_markup=’iconstitletop’ mla_style=’pushleft’ link=file columns=2 mla_viewer=’true’]

    Jon

    Plugin Author David Lingren

    (@dglingren)

    Jon,

    Thanks for taking the time to go through your shortcodes and posting this update. I’m sorry your search didn’t turn up an easy fix.

    I have released version 1.40, which should give you more specific reporting on shortcode problems. When you’re ready, upgrade to that version and let me know what it tells you.

    The example shortcode tests out fine on my system. Using the full category name is correct. The post_mime_type='' is novel, but works just like post_mime_type='all'; I hadn’t thought of it as an option.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Throwing error on submission’ is closed to new replies.