• We updated the theme to version 2.1.1 today and the site broke.

    Thinking it was a plugin conflict, I deactivated them all. The site then showed only the header with the navigation. The content of every page was blank.

    I systematically reactivated each plugin and got the same result.

    There were three plugins that made it worse. If Really Simple SSL, Really Simple SSL Pro, or Gallery Custom links were activated, the web page showed a small box in the middle of the page with the navigation showing.

    When I had all the plugins activated except those three, it showed just the header and no content in the pages.

    I have since rolled back to the previous version of the theme and activated all the plugins and the site is now working properly.

    WordPress and all themes are currently updated to the latest versions.

    It seems the latest theme update caused the site to break.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @outofnowhere,

    Sorry to hear about the issues you were experiencing, but there were absolutely no changes that would cause a site to break.

    Are you using a child theme perhaps? Do you have any errors in the debug log stored? If yes, what are the errors? Can you share the system info? If you’re using Elementor, navigate to Elementor > System Info and copy/paste the report here so that we can take a look.

    Thank you

    Thread Starter outofnowhere

    (@outofnowhere)

    Thank you SO MUCH for responding!

    The child theme we are using is: oceanwp ChildVersion: 1.0.25.

    I don’t have debugging turned on. My client has a critical fundraiser coming up, so I can’t update the theme to reproduce the error while preparing and having this event. I guess I could do it in the middle of the night, but I like to sleep. ??

    Here is the System Information from Elementor:

    Server Environment		
    Operating System:	Linux	
    Software:	Apache	
    MySQL version:	MariaDB Server v10.3.30	
    PHP Version:	7.3.28	
    PHP Max Input Vars:	8000	
    PHP Max Post Size:	20M	
    GD Installed:	Yes	
    ZIP Installed:	Yes	
    Write Permissions:	All right	
    Elementor Library:	Connected	
    WordPress Environment		
    Version:	5.7.2	
    Site URL:	https://dontforgettofeedme.org	
    Home URL:	https://dontforgettofeedme.org	
    WP Multisite:	No	
    Max Upload Size:	256 MB	
    Memory limit:	1024M	
    Permalink Structure:	/blog/%postname%/	
    Language:	en-US	
    Timezone:	5.5	
    Debug Mode:	Inactive	
    Theme		
    Name:	oceanwp Child	
    Version:	1.0.25	
    Author:	Travel Insights Writer	
    Child Theme:	Yes	
    Parent Theme Name:	OceanWP	
    Parent Theme Version:	2.1.0	
    Parent Theme Author:	Nick	
    User		
    Role:	administrator	
    WP Profile lang:	en_US	
    User Agent:	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36	
    Active Plugins		
    Contact Form 7 - 5.4.1	By Takayuki Miyoshi	
    Duplicate Page - 4.4	By mndpsingh287	
    Elementor - 3.2.5	By Elementor.com	
    Elementor Addon Elements - 1.11.6	By WPVibes	
    Gallery Custom Links - 2.0.3	By Jordy Meow	
    Increase Maximum Upload File Size - 2.0.4	By Imagify	
    Insert Headers and Footers - 1.6.0	By WPBeginner	
    Invisible reCaptcha - 1.2.3	By Mihai Chelaru	
    ManageWP - Worker - 4.9.8	By GoDaddy	
    Ocean Extra - 1.7.7	By OceanWP	
    Pods - Custom Content Types and Fields - 2.7.28	By Pods Framework Team	
    Really Simple SSL - 4.0.15	By Really Simple Plugins	
    Really Simple SSL pro - 4.1.11	By Really Simple Plugins	
    Search Regex - 2.4.1	By John Godley	
    UpdraftPlus - Backup/Restore - 2.16.58.25	By UpdraftPlus.Com, DavidAnderson	
    Wordfence Security - 7.5.4	By Wordfence	
    wpDiscuz - 7.2.2	By gVectors Team	
    Must-Use Plugins		
    ManageWP - Worker Loader	By GoDaddy	
    Elementor - Compatibility Tag		
     Elementor Addon Elements 	 Compatibility not specified

    Hello,

    Kindly create a staging site and replicate the issue there.
    In this way, your actual site will be safe.

    Are you using the official child theme or created using any plugin?

    Please enable the debug log also on the staging site, that will help us to identify the issue.

    Thread Starter outofnowhere

    (@outofnowhere)

    Hi,
    Sorry for my delayed response. I finally got the time to set up a staging site.

    I checked the files in the child theme. There were quite a few. I didn’t build the site, so I don’t have the history.

    I did narrow the issue down to a page.php file. It doesn’t look like your page.php changed with the last release, according to a cursory look.

    They had added code to the top of the file and when I commented it out, the site was fixed. Unfortunately, the code I commented out also brings up a banner image with the page title on it. The code they add is the two <div>s.

    <?php
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages and that other
     * 'pages' on your WordPress site will use a different template.
     *
     * @package OceanWP WordPress theme
     */
    
    get_header(); ?>
    
    <div id="inner-banner">
    <div class="container">
    <h1><?php echo oceanwp_title(); ?></h1>
    </div>
    </div>
    
    	<?php do_action( 'ocean_before_content_wrap' ); ?>

    I do realize this really isn’t your problem to fix because it appears the error is in the child theme. I’m not sure what would have changed with the most recent update of the theme that would make this not work. I can also send you what is in the child’s functions.php if you think it might help. Again, if this is outside of what you can support, I completely understand.

    Thanks!

    Thread Starter outofnowhere

    (@outofnowhere)

    Hi, I just wanted to follow up to let you know I figured it out.

    In the Child Theme page.php, we had code that needed to be updated. It originally was:

    <div id=”inner-banner”>
    <div class=”container”>
    <h1><?php echo oceanwp_title() ?></h1>
    </div>
    </div>

    I changed:
    <?php echo oceanwp_title() ?>
    to
    <?php echo oceanwp_has_page_title() ?>

    It took a lot of searching but I eventually was able to find “known issues” on your site which helped me identify what to change.

    Thanks, Mary Beth

    Glad to hear that issue has been fixed and thank you for sharing the solution.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Version 2.1.1 broke site’ is closed to new replies.