PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

MDTF and Gravity Forms conflict

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi there, we are experiencing an issue where MDTF is breaking Gravity Forms in the WP backend. This is the error we are seeing:

[27-May-2021 20:15:57 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function MetaDataFilter::admin_notices(), 0 passed in /srv/htdocs/wp-content/plugins/gravityforms/common.php on line 5662 and exactly 1 expected in /srv/htdocs/wp-content/plugins/meta-data-filter/index.php:582

We contacted Gravity forms to see if the issue was on their side. They told us the following: the following hooks may not be being used correctly in the MDTF plugin: admin_notices or network_admin_notices

Please advise.
Thanks,
Chris

Hello Chris

Try  in  file -\wp-content\plugins\meta-data-filter\index.php - change  code - https://share.pluginus.net/image/i20210528114032.png

public static function admin_notices($notices ="") {

and  do  a  test

Hello Pablo,

I tried the changes that you tell me and it worked for me.

Thanks very much.

Hello

Welcome;)