Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter alauer

    (@alauer)

    WP says fatal error in Evolve:
    “Seit WordPress 5.2 gibt es eine eingebaute Funktion, die erkennt, wenn ein Plugin oder ein Theme einen fatalen Fehler auf deiner Website verursacht, und dich deswegen mit dieser automatisierten E-Mail benachrichtigt.

    In diesem Fall hat WordPress einen Fehler in deinem Theme ?evolve“ abgefangen.”

    wir haben hier mehrere Seiten mit evolve (alle unter PHP 7.2 teilweise PHP 7.3 und WordPress 5.2.3) – keine Probleme. Das wird wahrscheinlich andere Ursachen haben.
    Wenn Du unter “Werkzeuge”->”Website-Zustand” gehst, kannst Du den Problembehandlungsmodus aktivieren, wenn Du das Plugin “Health Check & Troubleshooting” installiert hast. Da findest Du dann auch weitere Infos.
    Aber ohne den Link auf die Seite kann ich dazu nichts sagen.

    Thread Starter alauer

    (@alauer)

    No…no..no..
    1: Had to change the them in the DB, then deactivate Evolve, than my childtheme…foobar again. Seems to be the child.
    2: But when i use the parent my site looks complety ugly..

    OK – i found out that the header.php from my child (provided once by you) is the problem

    This is the content:

    <?php
    /**
     * Template: Header.php 
     *
     * @package EvoLve
     * @subpackage Template
     */
    ?>
    <!DOCTYPE html>
    <!--BEGIN html-->
    <html <?php language_attributes(); ?>>
    <!--BEGIN head-->
    <head>
    	<!-- Meta Tags -->
    	<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo('charset'); ?>" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    	<?php wp_head(); ?> 
      
    <!--END head-->  
    </head>
    
    <!--BEGIN body-->
    <body <?php body_class(); ?>>
    
    <?php $evolve_custom_background = evolve_get_option('evl_custom_background','1'); if ($evolve_custom_background == "1") { ?>
    <div id="wrapper">
    <?php } ?>
    
    <div id="top"></div>
    
    	<!--BEGIN .header-->
    		<div class="header">
         
    	<!--BEGIN .container-->
    	<div class="container container-header custom-header">
      
       <?php $evolve_social_links = evolve_get_option('evl_social_links','1'); if ( $evolve_social_links == "1" ) { ?>
      
          <!--BEGIN #righttopcolumn-->  
      <div id="righttopcolumn"> 
                           
       <!--BEGIN #subscribe-follow-->
     
    <div id="social">
    <?php get_template_part('social-buttons', 'header'); ?></div> 
    
    <!--END #subscribe-follow--> 
           
    </div> 
      <!--END #righttopcolumn-->
      
      <?php } ?>
     
     <?php $evolve_pos_logo = evolve_get_option('evl_pos_logo','left'); if ($evolve_pos_logo == "disable") { ?> 
      
      <?php } else { ?>
      
       <?php $evolve_header_logo = evolve_get_option('evl_header_logo', '');
        if ($evolve_header_logo) {
            echo "<a href=".home_url()."><img id='logo-image' class='img-responsive' src=".$evolve_header_logo." /></a>";
        }
          ?>   
         
         <?php } ?> 
         
         <!--BEGIN .title-container-->
         <div class="title-container">     
          <?php 
           
         $tagline = '<div id="tagline">'.get_bloginfo( 'description' ).'</div>';
         
         $evolve_tagline_pos = evolve_get_option('evl_tagline_pos','next');
         
         if (($evolve_tagline_pos !== "disable") && ($evolve_tagline_pos == "above")) { 
     
         
         echo $tagline;
          
         } ?>
         
         
         <?php $evolve_blog_title = evolve_get_option('evl_blog_title','0'); 
    	 if ($evolve_blog_title == "0" || !$evolve_blog_title) { ?>
         
         <div id="logo"><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ) ?></a></div>
         
              
         <?php } else { ?>			
          
          <?php } if (($evolve_tagline_pos !== "disable") && (($evolve_tagline_pos == "") || ($evolve_tagline_pos == "next") || ($evolve_tagline_pos == "under")))    
          {
    			echo $tagline;
          
          } ?> 
          
          <!--END .title-container-->
        </div>                        
    
    	<!--END .container-->
    		</div>
        
        
    
        
        		<!--END .header-->
    		</div>
        
        
        
      
      <div class="menu-container">
      
      
      
          <?php $evolve_menu_background = evolve_get_option('evl_disable_menu_back','1'); $evolve_width_layout = evolve_get_option('evl_width_layout','fixed'); if ( $evolve_width_layout == "fluid" && $evolve_menu_background == "1" ) { ?>
        
        <div class="fluid-width">
        
        <?php } ?>
      
      
      <div class="menu-header">  
      
      <!--BEGIN .container-menu-->
      <div class="container nacked-menu container-menu">
    
         <?php $evolve_main_menu = evolve_get_option('evl_main_menu','0'); if ($evolve_main_menu == "1") { ?>
        <br /><br />
        
       <?php } else { ?>
       
       <div class="primary-menu">   
     <?php 
     
    if ( has_nav_menu( 'primary-menu' ) ) { 
        
    echo '<nav id="nav" class="nav-holder link-effect">';
        
     wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu_class' => 'nav-menu','fallback_cb' => 'wp_page_menu', 'walker' => new evolve_Walker_Nav_Menu() ) );
     } else { 
    echo '<nav id="nav" class="nav-holder">';
    wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu_class' => 'nav-menu','fallback_cb' => 'wp_page_menu') );} 
     ?>   
       </nav>  
       </div>      
           
      
      <?php $evolve_searchbox = evolve_get_option('evl_searchbox','1'); if ( $evolve_searchbox == "1" ) { ?>
              
              <!--BEGIN #searchform-->
           <form action="<?php echo home_url(); ?>" method="get" class="searchform">         
             <div id="search-text-box">
      <label class="searchfield" id="search_label_top" for="search-text-top"><input id="search-text-top" type="text" tabindex="1" name="s" class="search" placeholder="<?php _e( 'Type your search', 'evolve' ); ?>" /></label> 
      </div>        
    </form>
    
    <div class="clearfix"></div> 
    
    <!--END #searchform-->
    
    <?php } ?>
                
              
              
              
    
    <?php $evolve_sticky_header = evolve_get_option('evl_sticky_header','1'); if ( $evolve_sticky_header == "1" ) {          
    
    	// sticky header
    		get_template_part('sticky-header');
    
    	}	?>          
              
          
           
           <?php } ?>
           
           
                 
           
           
           
           </div>
           
        </div>
              	
    	<div class="menu-back">
      
                         
    
              <?php $evolve_width_layout = evolve_get_option('evl_width_layout','fixed'); if ( $evolve_width_layout == "fluid" ) { ?>
        
        <div class="container">
        
        <?php } ?>
        
     	<?php $evolve_slider_page_id = ''; $evolve_bootstrap = evolve_get_option('evl_bootstrap_slider','homepage');
    	if(!is_home() && !is_front_page() && !is_archive()) {
    		$evolve_slider_page_id = $post->ID;
    	}
    	if(!is_home() && is_front_page()) {
    		$evolve_slider_page_id = $post->ID;
    	}
    	if(is_home() && !is_front_page()){
    		$evolve_slider_page_id = get_option('page_for_posts');
    	}
    	
    	if(get_post_meta($evolve_slider_page_id, 'evolve_slider_type', true) == 'bootstrap' || ($evolve_bootstrap == "homepage" && is_front_page()) || $evolve_bootstrap == "all" ):
         
      evolve_bootstrap();
           
      endif; ?>     
        
        
     	<?php $evolve_slider_page_id = ''; $evolve_parallax = evolve_get_option('evl_parallax_slider','post');
    	if(!is_home() && !is_front_page() && !is_archive()) {
    		$evolve_slider_page_id = $post->ID;
    	}
    	if(!is_home() && is_front_page()) {
    		$evolve_slider_page_id = $post->ID;
    	}
    	if(is_home() && !is_front_page()){
    		$evolve_slider_page_id = get_option('page_for_posts');
    	}
    	
    	if(get_post_meta($evolve_slider_page_id, 'evolve_slider_type', true) == 'parallax' || ($evolve_parallax == "homepage" && is_front_page()) || $evolve_parallax == "all" ):
    
      $evolve_parallax_slider = evolve_get_option('evl_parallax_slider_support', '1'); 
    
      if ($evolve_parallax_slider == "1"):
      
      evolve_parallax();
      
      endif;
      
      endif; ?> 
      
      
      <?php $evolve_posts_slider = evolve_get_option('evl_posts_slider','post');
      
      if(get_post_meta($evolve_slider_page_id, 'evolve_slider_type', true) == 'posts' || ($evolve_posts_slider == "homepage" && is_front_page()) || $evolve_posts_slider == "all" ):
      
      
      $evolve_carousel_slider = evolve_get_option('evl_carousel_slider', '1');
      
      if ($evolve_carousel_slider == "1"):
      
      evolve_posts_slider(); 
      
      endif; 
      
      endif; ?>       
           
    
     <?php $evolve_header_widgets_placement = evolve_get_option('evl_header_widgets_placement', 'home');           
            
     if (((is_home() || is_front_page()) && $evolve_header_widgets_placement == "home") || (is_single() && $evolve_header_widgets_placement == "single") 
     
     || (is_page() && $evolve_header_widgets_placement == "page") || ($evolve_header_widgets_placement == "all")) { ?>
            
      
      
            
            
              <?php $evolve_widgets_header = evolve_get_option('evl_widgets_header','disable');
    
    // if Header widgets exist
    
      if (($evolve_widgets_header == "") || ($evolve_widgets_header == "disable"))  
    { } else { ?>
    
    <?php 
    
    $evolve_header_css = '';
    
    if ($evolve_widgets_header == "one") { $evolve_header_css = 'widget-one-column col-sm-6'; }
    
    if ($evolve_widgets_header == "two") { $evolve_header_css = 'col-sm-6 col-md-6'; }
    
    if ($evolve_widgets_header == "three") { $evolve_header_css = 'col-sm-6 col-md-4'; }
    
    if ($evolve_widgets_header == "four") { $evolve_header_css = 'col-sm-6 col-md-3'; }
    
    ?>
        
        <div class="container"> 
      <div class="widgets-back-inside row">  
      
        <div class="<?php echo $evolve_header_css; ?>">
        	<?php	if ( !dynamic_sidebar( 'header-1' )) : ?>
          <?php endif; ?>
          </div> 
      
         <div class="<?php echo $evolve_header_css; ?>"> 
          <?php	if ( !dynamic_sidebar( 'header-2' ) ) : ?>
          <?php endif; ?>
          </div>
    
        <div class="<?php echo $evolve_header_css; ?>">  
    	    <?php	if ( !dynamic_sidebar( 'header-3' ) ) : ?>
          <?php endif; ?>
          </div>   
     
        <div class="<?php echo $evolve_header_css; ?>">  
        	<?php	if ( !dynamic_sidebar( 'header-4' ) ) : ?>
          <?php endif; ?>
          </div>
        
        </div>
        </div> 
    
       
         <?php } ?>
         
         <?php } else {} ?>
    
          
          </div>
          
        
          
          </div> 
          
        
          
          
             <?php $evolve_width_layout = evolve_get_option('evl_width_layout','fixed'); if ( $evolve_width_layout == "fluid" ) { ?>
             
             </div>
         
       <?php } ?>        
           
                 	<!--BEGIN .content-->
    	<div class="content <?php semantic_body(); ?>">  
      
      <?php if (is_page_template('contact.php')): ?>
      <div class="gmap" id="gmap"></div>
      <?php endif; ?>
      
           	<!--BEGIN .container-->
    	<div class="container container-center row">
      
    		<!--BEGIN #content-->
    		<div id="content">
        
        
      <?php if (is_home() || is_front_page()) { 
      
      evolve_content_boxes();  
      
      } ?>

    Even when i disable my header.php i get this:
    Error thrown
    Call to undefined function evolve_get_option()

    see here:

    evolve_get_option() has changed to evolve_theme_mod().
    Are you using a <3.8.4 copy of header.php in your child theme with an evolve version >=3.9.3?

    Thread Starter alauer

    (@alauer)

    Sorry to say but this is one of the most “strange” themes i know.

    1: If i choose te parent it comes close to what it was before – with some ugly CSS things
    2: When i activate my child (narrowed down to ONLY one CSS file) it looks completely different.

    Although there are only some lines of CSS:

    
    @import url("../evolve/style.css");
    .carousel-caption {
      background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
      bottom: 35px;
      padding-bottom: 0;
      text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    }
    #bootstrap-slider .carousel-caption h2 {
      background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
      margin-top: 0;
      padding-bottom: 15px;
      padding-top: 15px;
    }
    .simple .ccchildpage {
      background: none repeat scroll 0 0 #fff !important;
      border: 1px solid #ccc !important;
      border-radius: 12px !important;
      box-shadow: 6px 8px 10px #efefef !important;
      color: #333 !important;
      min-height: 305px !important;
    }
    .simple .ccpages_more a {
      text-decoration: underline !important;
      color: #555 !important;
    }
    .cc-child-pages-thumb {
      clear: both;
      display: block;
      height: auto;
      margin: 10px auto;
      max-width: 100%;
      border: 1px solid #ccc !important;
      padding: 3px !important;
    }
    .hentry {
      padding-bottom: 0;
    }

    Did you change the function?
    Still WSOD ?
    Link to website ?
    BTW: I’m not the deveolper of evolve, but the theme is really good

    Thread Starter alauer

    (@alauer)

    Oh oh…even if i empty my CSS-file (except one class that does nothing) i get massive differences between child and parent-theme.
    – No slider
    – Content width around 60%
    – and more

    If i just use the parent it looks better but the menu doesnt work and some more:
    https://www.fotostudio-lichtenberg.de/

    na, dann k?nnen wir uns ja auf deutsch unterhalten. Aber im Wartungsmodus bringt das natürlich nichts.
    Abgesehen davon, dass ich etwas irritiert über den unfreundlichen Ton bin, wie Du das hier schreibst.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WSoD – even in Admin’ is closed to new replies.