Title: arrey key exists error in class.mla-shortcode-support.php
Last modified: August 10, 2021

---

# arrey key exists error in class.mla-shortcode-support.php

 *  Resolved [gekow](https://wordpress.org/support/users/gekow/)
 * (@gekow)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/arrey-key-exists-error-in-class-mla-shortcode-support-php/)
 * Hello, my site gives me an error:
    `Warning: array_key_exists() expects parameter
   2 to be array, null given in /... my adress .../wordpress/wp-content/plugins/
   media-library-assistant/includes/class-mla-shortcode-support.php on line 798`
 * This line appears multiple times on top of every page the plugin is involved.
   The number of appereances depends. I tried to reduce the call to just `mla_gallery
   post_parent=all´
    that gives me two lines, but same page with `mla_gallery post_parent
   =all tag=’150920′ mla_alt_shortcode=gallery type=”rectangular” meta_key=”Timestamp”
   orderby=meta_value order=ASC link=’Lightbox’ ´
 * gives me the identical error line for seven times.
 * The error appears too, while loading the wp-admin plus the line:
    Warning: Cannot
   modify header information – headers already sent by (output started at ///same
   as error above///) in …/wp-admin/admin-header.php on line 9
 * Besides of that error, the plugin is working as good as ever.
    My site is running
   on PHP 7.3.23 and my site is currently in maintenance mode
    -  This topic was modified 4 years, 10 months ago by [gekow](https://wordpress.org/support/users/gekow/).
    -  This topic was modified 4 years, 10 months ago by [gekow](https://wordpress.org/support/users/gekow/).
    -  This topic was modified 4 years, 10 months ago by [gekow](https://wordpress.org/support/users/gekow/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Farrey-key-exists-error-in-class-mla-shortcode-support-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [gekow](https://wordpress.org/support/users/gekow/)
 * (@gekow)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/arrey-key-exists-error-in-class-mla-shortcode-support-php/#post-14754766)
 * Meanwhile I supressed the error message and the site is back online
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/arrey-key-exists-error-in-class-mla-shortcode-support-php/#post-14755549)
 * Thanks for your report. I regret the trouble you’re having with the latest MLA
   version. The PHP Warning message is a result of an MLA change I made in v2.96.
 * I have released MLA version 2.97, which corrects the problem and has a few other
   improvements as well. I am marking this topic resolved, but please update it 
   if you have any trouble with the latest version.
 *  Thread Starter [gekow](https://wordpress.org/support/users/gekow/)
 * (@gekow)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/arrey-key-exists-error-in-class-mla-shortcode-support-php/#post-14759240)
 * As usual I am pleased and impressed by your support. Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘arrey key exists error in class.mla-shortcode-support.php’ is closed 
to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [gekow](https://wordpress.org/support/users/gekow/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/arrey-key-exists-error-in-class-mla-shortcode-support-php/#post-14759240)
 * Status: resolved