Thanks for your report and for including the complete text of the error message; very helpful.
I suspect you are running this site on PHP 7.x; is that right? This new PHP version handles errors differently and the older way of suppressing the messages no longer works. I will work on that.
In any case, the message is generated when an [mla_gallery]
shortcode contains an invalid parameter, e.g., a tax_query
, meta_query
or date_query
. It can also be caused when WordPress “improves” shortcode content. You can find more information in the “Entering Long/Complex Shortcodes” section of the Settings/Media Library Assistant Documentation tab.
If you get the message when accessing the Media/Assistant submenu screen it may be coming from the analysis MLA does for the “where-used reporting”. If you go to the Settings/Media Library Assistant General tab and scroll down to the “Where-used database access tuning” section, is the “MLA Gallery in” option set to something other than “Disabled”? If so, try setting it to “Disabled” and see if the problem goes away.
If the problem is caused by a damaged [mla_gallery]
shortcode the message should also appear when you access the post/page or widget in which the shortcode appears. That’s the best way to narrow down the location of the problem.
I hope the above suggestions help you resolve the issue. I will leave this topic unresolved until I hear back from you. Thanks for your interest in the plugin.