-
Couldn't load subscription status.
- Fork 216
Description
An error message on the bookings page:
**Warning: Missing argument 2 for MeprAppCtrl::cleanup_list_table_month_dropdown(), called in /home1/raysthel/public_html/tenseats/wp-includes/class-wp-hook.php on line 288 and defined in /home1/raysthel/public_html/tenseats/wp-content/plugins/memberpress/app/controllers/MeprAppCtrl.php on line 932
Notice: Undefined variable: post_type in /home1/raysthel/public_html/tenseats/wp-content/plugins/memberpress/app/controllers/MeprAppCtrl.php on line 934**
Reply from the memberpress team:
The error is caused by this line in Dokan plugin: https://plugins.trac.wordpress.org/browser/dokan-lite/tags/2.9.26/includes/functions.php#L2243
It should have two parameters, the second being a post type. However Dokan is invoking the filter with only one argument.
WordPress docs on the hook showing two parameters is found here: https://developer.wordpress.org/reference/hooks/months_dropdown_results/