Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #160349
    husker
    Participant

    I got two errors today in my Child CSS Sheet after upgrading Parent Theme to Version 2.7.

    expected (<margin-width> | <content-sizing>)
    but found ‘header image height goes here’.

    Expected RBRACE at line 1400. col 47.

    Also Expected RBRACE at line 1611, col 31.

    What happened?

    Brian

    #160369
    Skandha
    Keymaster

    @husker: Please post in your site URL so that I can look into the issue.

    Kind Regards,
    Skandha

    #160370
    husker
    Participant

    I upgraded to 2.7 this morning and My Child Theme Home Page Broke. I use a 3 column home page in Child Theme. It seems to break on javascript code.

    My Facebook script and RSS News Feeds all did not work as well as some other items.

    Tonight I deleted 2.7 Main Theme and reinstalled a back-up folder from 2017 of the 2.6 and now my site works again.

    There is am issue with the 2.7 upgrade.

    bayareahuskers.org

    #160426
    husker
    Participant

    Do you need me to re-install 2.7 so you can see what happens? I do have the 2.6.3 version saved as a back-up.

    https://bayareahuskers.org/

    Brian

    #160590
    Skandha
    Keymaster

    @husker: Can you reinstall to 2.7 and check if the issue reoccurs. Also backup your current theme while updating to 2.7

    Let me know if the issue persists.
    Kind Regards,
    Skandha

    #160933
    husker
    Participant

    OK i updated again to 2.7 and Upgrade breaks the Home page.

    https://bayareahuskers.org/

    My countdown clock is not showing. Facebook and RSS news Feeds are broke.

    Check it out.

    I will delete and reinstall 2.6.3 in the morning 7:00 CA time.

    Brian

    #160997
    husker
    Participant

    Top Left

    Left Bottom Column
    Middle Column

    Right Column

    Here are some images of what it looked like when I upgraded to 2.7.

    I have put 2.6.3 back.

    https://bayareahuskers.org/

    Brian

    #161036
    Skandha
    Keymaster

    @husker: I will need to login to your site and check for the issue. For that I will need your WP admin credentials. I will contact you shortly by email.

    Kind Regards,
    Skandha

    #162976
    husker
    Participant

    Was this error corrected in Version 2.7.1?

    Brian

    #163138
    Skandha
    Keymaster

    @husker: Hello Brain,
    I will need to check your admin settings to check the issue you are having. For that I will need your WP login credentials. I will contact you shortly by email.

    Kind Regards,
    Skandha

    #163304
    husker
    Participant

    I did respond to your email and waiting to see what you discover, so I can delete 2.7.1 and go back to 2.6 which I know works.

    Brian

    #163534
    Skandha
    Keymaster

    @husker: The issue you are having with the facebook and rss not showing up in featured content section is because of Updated Content delivered through the_content filter for security reason which has been made in 2.7 version.

    For this you will need to add a bit of code to your child theme.
    Go to => Child Theme Folder => functions.php and add the following Code.

    function catchresponsive_page_content( $options ) {
    	global $post;
    
    	$quantity 					= $options['featured_content_number'];
    
    	$more_link_text				= $options['excerpt_more_text'];
    
    	$show_content	= $options['featured_content_show'];
    
    	$catchresponsive_page_content 	= '';
    
       	$number_of_page 			= 0; 		// for number of pages
    
    	$page_list					= array();	// list of valid pages ids
    
    	//Get valid pages
    	for( $i = 1; $i <= $quantity; $i++ ){
    		if ( isset ( $options['featured_content_page_' . $i] ) && $options['featured_content_page_' . $i] > 0 ){
    			$number_of_page++;
    
    			$page_list	=	array_merge( $page_list, array( $options['featured_content_page_' . $i] ) );
    		}
    
    	}
    	if ( !empty( $page_list ) && $number_of_page > 0 ) {
    		$loop = new WP_Query( array(
                        'posts_per_page' 		=> $number_of_page,
                        'post__in'       		=> $page_list,
                        'orderby'        		=> 'post__in',
                        'post_type'				=> 'page',
                    ));
    
    		$i=0;
    		while ( $loop->have_posts()) : $loop->the_post(); $i++;
    			$title_attribute = the_title_attribute( array( 'before' => __( 'Permalink to: ', 'catch-responsive' ), 'echo' => false ) );
    
    			$excerpt = get_the_excerpt();
    
    			$catchresponsive_page_content .= '
    				<article id="featured-post-' . $i . '" class="post hentry featured-page-content">';
    				if ( has_post_thumbnail() ) {
    					$catchresponsive_page_content .= '
    					<figure class="featured-homepage-image">
    						<a href="' . esc_url( get_permalink() ) . '" title="'.the_title( '', '', false ).'">
    						'. get_the_post_thumbnail( $post->ID, 'catchresponsive-featured-content', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'pngfix' ) ) .'
    						</a>
    					</figure>';
    				}
    				else {
    					$catchresponsive_first_image = catchresponsive_get_first_image( $post->ID, 'catchresponsive-featured-content', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'pngfix' ) );
    
    					if ( '' != $catchresponsive_first_image ) {
    						$catchresponsive_page_content .= '
    						<figure class="featured-homepage-image">
    							<a href="' . esc_url( get_permalink() ) . '" title="'.the_title( '', '', false ).'">
    								'. $catchresponsive_first_image .'
    							</a>
    						</figure>';
    					}
    				}
    
    				$catchresponsive_page_content .= '
    					<div class="entry-container">
    						<header class="entry-header">
    							<h2 class="entry-title">
    								<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . the_title( '','', false ) . '</a>
    							</h2>
    						</header>';
    						if ( 'excerpt' == $show_content ) {
    							$catchresponsive_page_content .= '<div class="entry-excerpt"><p>' . $excerpt . '</p></div><!-- .entry-excerpt -->';
    						}
    						elseif ( 'full-content' == $show_content ) {
    							$content = apply_filters( 'the_content', get_the_content() );
    							$content = str_replace( ']]>', ']]>', $content );
    							$catchresponsive_page_content .= '<div class="entry-content">' . $content . '</div><!-- .entry-content -->';
    						}
    					$catchresponsive_page_content .= '
    					</div><!-- .entry-container -->
    				</article><!-- .featured-post-'. $i .' -->';
    		endwhile;
    
    		wp_reset_postdata();
    	}
    
    	return $catchresponsive_page_content;
    }

    Let me know if this resolves the issue you are having.
    Also I have updated your theme to the latest version and backed up previous theme in Media Section.

    Kind Regards,
    Skandha

    #163569
    husker
    Participant

    The code above did correct the problem.

    Thank You.

    Is the child Theme always going to be such an issue when it comes to Theme Updates?

    Brian

    #163639
    Skandha
    Keymaster

    @husker: Now that you have added the code in your Child Theme the issue won’t arise again even when a new update is released.

    I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/catch-responsive/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Style Sheet Errors with Version: 2.7’ is closed to new replies.