s( $all_instances ); } /** * @param string|int $widget_id * * @return int */ public function get_number_from_widget_id( $widget_id ) { return (int) preg_replace( '/^' . self::SLUG . '-/', '', (string) $widget_id, 1 ); } /** * @param WPML_LS_Slot $slot * * @return array */ private function get_instance_options_from_slot( WPML_LS_Slot $slot ) { return array( 'slot' => $slot ); } /** * @param string $slug * * @return string */ public function get_settings_page_url( $slug ) { return admin_url( 'admin.php?page=' . WPML_LS_Admin_UI::get_page_hook() . self::ANCHOR_BASE . $slug ); } }
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "WPML_LS_Widget" not found in /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/class-wp-hook.php:324 Stack trace: #0 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #1 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/widgets.php(1870): do_action('widgets_init') #3 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/class-wp-hook.php(324): wp_widgets_init('') #4 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-settings.php(704): do_action('init') #7 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/wp-config.php(105): require_once('/hp/cj/aa/ze/ww...') #8 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-load.php(55): require_once('/hp/cj/aa/ze/ww...') #9 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-blog-header.php(13): require_once('/hp/cj/aa/ze/ww...') #10 /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/index.php(17): require('/hp/cj/aa/ze/ww...') #11 {main} thrown in /hp/cj/aa/ze/www/thebreakerskitehouse/kitehouse-somabay.com/UP1/wp-includes/class-wp-hook.php on line 324