Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1204909
    GATHH
    Participant

    Hi there,
    We are using the latest edition of Visual Composer, X theme and WordPress.
    I have the ‘X Integration’ enabled under the Visual Composer settings. When the settings are enabled then the output on the frontend is just blank. It loads the rest of the site just fine, but the visual composer elements won’t load.
    When I turn ‘X Integration’ off then the visual composer items show nicely on the front-end.
    However, when I turn ‘X Integration’ off then it only shows a limited number of elements in the back-end editor.
    As such we want to keep ‘X Integration’ on but of course it needs to show the output on the front-end.
    Any idea why it won’t output anything on the front-end?

    Thanks.

    #1205022
    Darshana
    Moderator

    Hi there,

    A white screen usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', true);
    
    /* That's all, stop editing! Happy blogging. */

    When you revisit the page with the white screen, you should have some error output describing the issue in more detail.

    Thanks!

    #1205115
    GATHH
    Participant

    Thanks for your tip.

    I did that and it doesn’t show any PHP errors.
    it loads the site just fine, meaning it loads the header, sidebar and footer. However, the main content is empty:

    
    <div class="x-main right" role="main">
    
                  
    <article id="post-3020" class="post-3020 page type-page status-publish hentry no-post-thumbnail">
      <div class="entry-wrap">
                      
    
    <div class="entry-content content">
    
      
    <div id="x-content-band-1" class="x-content-band vc" style="background-color: transparent; padding-top: 0px; padding-bottom: 0px;"><div class="x-container wpb_row">
    <div class="x-column x-sm vc x-1-1" style=""></div></div></div>
      
    
    </div>
    
      </div>
    </article>        
          
        </div>
    

    Any idea what it could be?

    #1205297
    Rupok
    Member

    Hi there,

    Are you using X to build the content from beginning or switched from a different theme? Would you mind providing us with login credentials in a private reply so we can take a closer look?

    Thanks!

    #1206178
    GATHH
    Participant

    Thanks for your reply.
    We are using X from the beginning and didn’t switch from a different theme.
    I’ll send you the login details in a private reply.

    #1206180
    GATHH
    Participant
    This reply has been marked as private.
    #1206303
    Rupok
    Member

    Hi there,

    Sorry to hear that you are having trouble with this. Kindly switch to X from your Child Theme and check again. It seems you have something on your Child Theme that might causing this.

    Update : I have switched to X and it was working fine. Then switched to Child Theme and it’s still working. I guess you have broken directory on theme folder that was causing something – http://prntscr.com/cqt0cl

    Let’s check again and confirm if you see that fine on your end.

    Thanks!

    #1206395
    GATHH
    Participant

    Wow, just wow!
    First of all thanks a lot for the fast response – really appreciate this.
    Second, amazing that it now works. So all you did was switch from child to parent back to child theme? Interesting 🙂

    Thanks for your help!

    #1206400
    Rupok
    Member

    Hi there,

    I am glad that it’s working on your end as well. Yes I have just switched to parent theme and it’s started working fine. Then switched back to Child Theme and it was still working. So I believe the issue was related to the Child Theme’s files, maybe something was missing there. Let’s check the theme folder and remove any unnecessary folder as I can see a broken directory there (see my previous screenshot).

    Cheers!

    #1218991
    GATHH
    Participant

    Hi, the problem is back.
    Visual Composer stops showing content after a while.
    It will only show content again if I switch from child to main to child theme.
    How can I fix this problem permanently? Any ideas?
    Thanks.

    #1219008
    Paul R
    Moderator

    Hi,

    I can’t seem to replicate the issue on my end.

    Can you be more specific of when this happen.

    Like when you are editing page or theme files?

    Thanks

    #1222012
    GATHH
    Participant

    Hi, think I knew why it was happening. It happened every time I disabled the cornerstone plugin.
    Since we are using Visual Composer, I thought it would be a good idea to turn off Cornerstone to save resources. I guess that was not a good idea.
    Does it mean Cornerstone MUST be enabled when one wants to use Visual Composer?

    #1222130
    Paul R
    Moderator

    Hi,

    Yes, Cornerstone must be enable at all times as it is a required plugin for xtheme to work correctly.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1204909 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>