Settings not working anymore (fix inside)
-
Since the last update the settings page is broken, if i rollback to 6.0.1 it’s fine again, with the lastest wordpress version (5.2.1 as of today)
Fatal error: Uncaught ArgumentCountError: Too few arguments to function ap\lsw\settings\login_settings::wrap_start(), 0 passed in /var/www/somewebsite/public/wp-content/plugins/login-sidebar-widget/includes/class_settings.php on line 86 and exactly 1 expected in /var/www/somewebsite/public/wp-content/plugins/login-sidebar-widget/includes/class_settings.php:59 Stack trace: #0 /var/www/somewebsite/public/wp-content/plugins/login-sidebar-widget/includes/class_settings.php(86): ap\lsw\settings\login_settings::wrap_start() #1 /var/www/somewebsite/public/wp-includes/class-wp-hook.php(286): ap\lsw\settings\login_settings->login_widget_ap_options('') #2 /var/www/somewebsite/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #3 /var/www/somewebsite/public/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /var/www/somewebsite/public/wp-admin/admin.php(253): do_action('toplevel_page_l...') #5 {main} thrown in /var/www/somewebsite/public/wp-content/plugins/login-sidebar-widget/includes/class_settings.php on line 59
fix :
includes/class_settings.php :
line 59 : public static function wrap_start($string=null){
line 63 : public static function wrap_end($string=null){
- The topic ‘Settings not working anymore (fix inside)’ is closed to new replies.