An error occurred while using the plugin

[ad_1]

I use Salon Booking System-free. 

It worked fine at first and I didn’t even add any plugins. When I was working on it, I suddenly got an error. The error is below.

Click Update Settings on the settings screen 
“This site has encountered a serious error.” 
occurred. It will return when you reload. settings are reflected. 
to the server 
Uncaught Error: Call to a member function add_cap() on null in /home/bij-marketing/www/pb-doc/wp-content/plugins/salon-booking-system/src/SLN/UserRole/SalonStaff.php:113 
Stack trace: 
#0 /home/bij-marketing/www/pb-doc/wp-content/plugins/salon-booking-system/src/SLN/Admin/SettingTabs/GeneralTab.php(187): SLN_UserRole_SalonStaff::addCapabilities() 
#1 /home/bij-marketing/www/pb-doc/wp-content/plugins/salon-booking-system/src/SLN/Admin/SettingTabs/AbstractTab.php(61): SLN_Admin_SettingTabs_GeneralTab->postProcess() 
#2 /home/bij-marketing/www/pb-doc/wp-content/plugins/salon-booking-system/src/SLN/Admin/SettingTabs/AbstractTab.php(23): SLN_Admin_SettingTabs_AbstractTab->process() 
#3 /home/bij-marketing/www/pb-doc/wp-content/plugins/salon-booking-system/src/SLN/Admin/Settings.php(53): SLN_Admin_SettingTabs_AbstractTab->__construct() 
#4 /home/bij-marketing/www/pb-doc/wp-includes/class-wp-hook.php(308): SLN_Admin_Settings->show() 
#5 /home/bij-marketing/www/pb-doc/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filte 
error message. 
WordPress is the latest version. 
Plugins are up to date. 

Is there any solution?

The site is working without any problems, and there are no other management screens.
Due to an error in the management screen, the link cannot be pasted.
Does anyone have a similar phenomenon?

I would be happy if you could teach me.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer