Site encountering a critical error when trying to access Gravity Forms on the backend

WordPress version: 6.1.1

PHP version: 7.4

Gravity Forms version: 2.6.8

I’ve tried updating PhP, uninstalling and reinstalling both the plugin and addons. I’ve also tried updating to downloaded idrectly from gravity form website.

Site forms appear to be functioning properly. Yet you can’t access the backend, you get the error below:

An error of type E_ERROR was caused in line 71 of the file /var/www/wp-content/plugins/show-posts-and-pages-id/notices.php. Error message: Uncaught ArgumentCountError: Too few arguments to function yydev_show_pages_id_admin_notice(), 0 passed in /var/www/wp-content/plugins/gravityforms/common.php on line 5625 and exactly 1 expected in /var/www/wp-content/plugins/show-posts-and-pages-id/notices.php:71
Stack trace:
#0 /var/www/wp-content/plugins/gravityforms/common.php(5625): yydev_show_pages_id_admin_notice()
#1 /var/www/wp-includes/class-wp-hook.php(308): GFCommon::find_admin_notices(‘’)
#2 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /var/www/wp-admin/admin-header.php(163): do_action(‘admin_head’)
#5 /var/www/wp-admin/admin.php(239): require_once(‘/var/www/wp-adm…’)
#6 {main}

The error was resolved!