Visual Composer on Royal Theme front end editor not loading

This topic has 29 replies, 5 voices, and was last updated 6 years, 10 months ago ago by Rose Tyler

  • Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 14:38

    Not sure why, but suddenly yesterday it stopped working. When I click on edit with Visual Composer Front End Editor it loads just a blank page.

    Please, contact administrator
    for this information.
    28 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 20, 2017 at 14:50

    Please turn on WP_DEBUG in wp-config.php https://codex.wordpress.org/WP_DEBUG so we could see errors log on your site.

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 14:55

    I’ve enabled debugging. Thanks in advance.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 20, 2017 at 14:59

    Is your problem solved? http://prntscr.com/fy39st

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 15:06

    Please find the info below.

    Please, contact administrator
    for this information.
    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 15:14

    Yes, what was the issue?

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 15:15

    However now I am seeing a notice at the top of the page:

    Only variables should be assigned by reference in /home/kinderkr/public_html/wp-content/plugins/exclude-pages/exclude_pages.php on line 92
    class=”page-template-default page page-id-189 page-parent logged-in admin-bar no-customize-support fixNav-enabled banner-mask- wide js-preloader open-popup breadcrumbs-type-1 wpb-js-composer js-comp-ver-5.2 vc_responsive”>

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 20, 2017 at 15:16

    I can’t see your files on FTP, seems you didn’t give me full access.
    Please try to disable debug now, and check page editor, if it doesn’t work, give full FTP access so I could check your files.

    REgards

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 15:16

    I am also seeing this error in the dashboard now:
    Notice: WP_Roles::reinit is deprecated since version 4.7.0! Use new WP_Roles() instead. in /home/kinderkr/public_html/wp-includes/functions.php on line 3831

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 15:19

    Please try this ftp

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 20, 2017 at 15:19

    As you can see, errors aren’t related to our theme so try to disable this plugin http://prntscr.com/fy3ibo

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 20, 2017 at 15:23

    To avoid any misunderstandings, please disable debug and the plugin and let me know about the situation with VC editor.

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 15:47

    Ok, I removed that plugin – what about the second error? I never saw that before:

    Notice: WP_Roles::reinit is deprecated since version 4.7.0! Use new WP_Roles() instead. in /home/kinderkr/public_html/wp-includes/functions.php on line 3831

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 20, 2017 at 15:55

    This notice doesn’t relate to our theme. You can disable all 3-rd party plugins and then activate one by one to find which plugin cause the notice.

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 20, 2017 at 16:56

    I also noticed an error on the website for VC – please see this page:

    Notice: Undefined offset: 1 in /home/kinderkr/public_html/wp-content/themes/royal/framework/vc.php on line 1103

    http://www.kinderkrowns.com/technique/zirconia-kinder-krowns/

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 21, 2017 at 07:58

    Fixed.

    Regards

    Avatar: IndianBuyer
    Imran
    Participant
    July 23, 2017 at 07:28

    Hi, how did you fix the problem? Even on my website the VC is not loading. I did a manual update last night but still can’t see anything in the “Edit Page” … though it is visible and active in the plugins directory.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 24, 2017 at 10:34

    Hello, @Imran

    If you got the same error then got to themes/royal/framework/vc.php

    find code

    if($popup == 'yes') {
           $img_size = explode('x', $img_size);
       
           $width = $img_size[0];
           $height = $img_size[1];
       
           if($img != '') {
               $src = etheme_get_image($img, $width, $height);
           }elseif ($img_src != '') {
               $src = do_shortcode($img_src);
           }
           $text = esc_html__('Show video', 'royal');
           if($src != '') {
            $text = '<img src="'.$src.'">';
           }
          }

    and add replace by

    if($popup == 'yes') {
           $img_size = explode('x', $img_size); 
       
        if ( ! in_array( $img_size[0], array( "thumbnail", "medium", "large", "full" ))) {
    
            $width = $img_size[0];
            $height = $img_size[1];
    
            if($img != '') {
                $src = etheme_get_image($img, $width, $height);
                $src_img = $src;  
            }elseif ($img_src != '') {
                $src = do_shortcode($img_src);
                $src_img = $src;  
            }
          }
          else {
           $src = wp_get_attachment_image_src( $img, $img_size[0]);
           $src_img = $src[0];  
          }
           $text = esc_html__('Show video', 'royal');
           if($src_img != '') {
            $text = '<img src="'. $src_img .'">';
           }
          }

    Regards

    Avatar: seomar
    seomar
    Participant
    January 18, 2018 at 18:14

    Hi guys! Hope u doing well.
    Visual composer doesn’t load properly.
    I already turned on WP_DEBUG in wp-config.php
    Please help.
    Many thanks.
    David

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 19, 2018 at 08:09

    Hello, @seomar

    Please create a new topic for your problem.
    I would recommend you to update theme to latest version https://www.8theme.com/demo/docs/royal/#!/installation_upgrade, also make sure that all your plugins are updated https://www.8theme.com/download-plugins/.
    Before uploading theme files delete “woocommerce” folder, which is located in wp-content/themes/royal/ to avoid problems with old files (it’ll be reuploaded from a new theme package).
    Don’t forget to create backup of your files and database before starting update process!
    You need to enter your purchase code to activate the theme and skip Setup Wizard.

    Regards

    Avatar: seomar
    seomar
    Participant
    January 19, 2018 at 19:23

    Hi,
    Thanks for your reply.
    Now I cannot even gain access to wp-admin cos a message is shown when debbuging is ON:

    “Notice: The called constructor method for WP_Widget is ..”

      None of the solutions Did work:

    • updated plugins manually
    • updated ROYAL to lates version
    • updated PHP version to 7.0
    • updated wordpress manually to latest version

    Please find attached admin details in the private content area.

    Thanks.
    David

    Please, contact administrator
    for this information.
    Avatar: seomar
    seomar
    Participant
    January 19, 2018 at 19:53

    Hi,
    I partially solved the problem:
    the plugin MASTERSLIDER was creating the problem, I deactivated.

    Now at the home page iseval.net we are obtaining this error lines:
    Deprecated: Non-static method WPBakeryShortCode::getExtraClass() should not be called statically in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-content/themes/royal/framework/theme-functions.php on line 2237

    Deprecated: Non-static method WPBakeryShortCode::endBlockComment() should not be called statically in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-content/themes/royal/framework/theme-functions.php on line 2529

    Deprecated: Non-static method WPBakeryShortCode::endBlockComment() should not be called statically in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-content/themes/royal/framework/theme-functions.php on line 2529

    Deprecated: Non-static method WPBakeryShortCode::endBlockComment() should not be called statically in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-content/themes/royal/framework/theme-functions.php on line 2529

    Deprecated: Non-static method WPBakeryShortCode::endBlockComment() should not be called statically in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-content/themes/royal/framework/theme-functions.php on line 2583

    Deprecated: Non-static method WPBakeryShortCode::endBlockComment() should not be called statically in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-content/themes/royal/framework/theme-functions.php on line 2584

    Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 16:03

    Hello, @seomar

    I’ve checked your page content. Please see screenshot http://prntscr.com/i3yrv1 Try to re-added this element on the page.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2018 at 16:43

    Dear @seomar

    We’ve made some changes in theme-functions.php so errors disappeared, but I recommend you to change the element on page to new one.

    Regards

    Avatar: seomar
    seomar
    Participant
    January 22, 2018 at 21:34

    Many thanks team!
    🙂

    Avatar: seomar
    seomar
    Participant
    January 22, 2018 at 21:37

    Hi:
    Will be overrride theme-functions.php when we update the template?
    Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2018 at 08:20

    Hello, @seomar

    You’re welcome!
    It was a temporary solution for your problem. The element is old, so change this to the new one, and all will be fine even after theme update.
    Have a nice day.

    Regards

    Avatar: seomar
    seomar
    Participant
    January 23, 2018 at 13:52

    Hi, Thanks. I removed the old element. Now at the bottom of the page another PHP message is shown:
    Notice: get_currentuserinfo ha quedado obsoleto desde la versión 4.5.0. Utiliza wp_get_current_user() en su lugar. in /homepages/31/d533084747/htdocs/clickandbuilds/ISEVAL/wp-includes/functions.php on line 3839

    updated plugins manually.
    updated ROYAL to lates version.
    updated PHP version to 7.0.
    updated wordpress manually to latest version.

    How could we solve that?
    Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2018 at 14:06

    Hello, @seomar

    This error relates to some plugin. I’ve checked your plugins and see that you use old version of Screets Live Chat, you need to delete the old version and activate latest plugin version http://prntscr.com/i4es03

    Regards

  • Viewing 29 results - 1 through 29 (of 29 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.