Updated to the latest WP 5.1 and now getting an error while posting coupen
Getting this error while posting coupon
Warning: array_map(): Argument #2 should be an array in /home/servername/public_html/website.net/wp
-admin/includes/post.php on line 2005
Warning: Cannot modify header information - headers already sent by (output started at /home/servername/public_html/website.net/wp
-admin/includes/post.php:2005) in /home/servername/public_html/website.net/wp
-includes/pluggable.php on line 1251
Please let me know how to solve this issue?