Deprecated: Creation of dynamic property ACF::$fields is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/fields.php on line 138

Deprecated: Creation of dynamic property acf_loop::$loops is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/loop.php on line 28

Deprecated: Creation of dynamic property ACF::$loop is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/loop.php on line 269

Deprecated: Creation of dynamic property ACF::$revisions is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/revisions.php on line 385

Deprecated: Creation of dynamic property acf_validation::$errors is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/validation.php on line 28

Deprecated: Creation of dynamic property ACF::$validation is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/validation.php on line 214

Deprecated: Creation of dynamic property acf_form_customizer::$preview_values is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-customizer.php on line 28

Deprecated: Creation of dynamic property acf_form_customizer::$preview_fields is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-customizer.php on line 29

Deprecated: Creation of dynamic property acf_form_customizer::$preview_errors is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-customizer.php on line 30

Deprecated: Creation of dynamic property ACF::$form_front is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-front.php on line 598

Deprecated: Creation of dynamic property acf_form_widget::$preview_values is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-widget.php on line 34

Deprecated: Creation of dynamic property acf_form_widget::$preview_reference is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-widget.php on line 35

Deprecated: Creation of dynamic property acf_form_widget::$preview_errors is deprecated in /home/solakrabyn/dev/wp-content/plugins/advanced-custom-fields/includes/forms/form-widget.php on line 36
'Liten text', 'inline' => 'span', 'classes' => 'small-txt', 'wrapper' => true ) ); $init_array['style_formats'] = json_encode( $style_formats ); return $init_array; } add_filter( 'tiny_mce_before_init', 'my_mce_before_init_insert_formats' ); /* End Custom editor stuff */ /* Intranet stuff */ /* Hindra inloggade från att ändra profilinformation */ function stop_access_profile() { if(!current_user_can('delete_posts')) { remove_menu_page( 'profile.php' ); remove_submenu_page( 'users.php', 'profile.php' ); if(IS_PROFILE_PAGE === true) { wp_die( 'Du har inte möjlighet att redigera informationen här.' ); } } } add_action( 'admin_init', 'stop_access_profile'); function solakra_child_theme_setup() { add_image_size( 'Liten', 250 ); add_image_size( 'Stor', 1800, 0, true ); } add_action( 'after_setup_theme', 'solakra_child_theme_setup' ); add_action('admin_head', 'custom_admin_css'); function custom_admin_css() { echo ''; } /* Add Gadget script n´ styles */ add_action('wp_enqueue_scripts', 'add_scripts_n_styles'); function add_scripts_n_styles() { $sc = get_stylesheet_directory_uri(); //wp_enqueue_script('isotope-script', $sc.'/assets/js/isotope.pkgd.min.js',array('jquery'), '2.1.1', true); wp_enqueue_script('royalslider-script', $sc.'/assets/js/jquery.royalslider.min.js',array('gadget-script'), '9.5.6', true); wp_enqueue_style( 'royalslider-css', $sc.'/assets/css/royalslider.css'); wp_enqueue_style( 'rs-minimal-white-css', $sc.'/assets/css/rs-minimal-white.css',array('royalslider-css')); wp_enqueue_script('gadget-script', $sc.'/assets/js/gadgets.js',array('jquery'), '1.0.2', true); /* wp_enqueue_style( 'smartmenus-bootstrap-css', $sc.'/assets/css/jquery.smartmenus.bootstrap.css'); wp_enqueue_script('smartmenus-js', $sc.'/assets/js/jquery.smartmenus.js',array('jquery'), '1.0.2', true); wp_enqueue_script('smartmenus-bootstrap-js', $sc.'/assets/js/jquery.smartmenus.bootstrap.js',array('jquery'), '1.0.2', true); */ wp_deregister_script('main-script'); remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); remove_action( 'wp_print_styles', 'print_emoji_styles' ); remove_action( 'admin_print_styles', 'print_emoji_styles' ); }
Fatal error: Uncaught Error: Call to undefined function create_function() in /home/solakrabyn/dev/wp-content/themes/bootstrap-basic/inc/widgets/BootstrapBasicSearchWidget.php:118 Stack trace: #0 /home/solakrabyn/dev/wp-content/themes/bootstrap-basic/functions.php(177): require() #1 /home/solakrabyn/dev/wp-settings.php(591): include('/home/solakraby...') #2 /home/solakrabyn/dev/wp-config.php(83): require_once('/home/solakraby...') #3 /home/solakrabyn/dev/wp-load.php(50): require_once('/home/solakraby...') #4 /home/solakrabyn/dev/wp-blog-header.php(13): require_once('/home/solakraby...') #5 /home/solakrabyn/dev/index.php(17): require('/home/solakraby...') #6 {main} thrown in /home/solakrabyn/dev/wp-content/themes/bootstrap-basic/inc/widgets/BootstrapBasicSearchWidget.php on line 118