This topic has 29 replies, 5 voices, and was last updated 6 years, 3 months ago ago by Rose Tyler
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 turn on WP_DEBUG in wp-config.php https://codex.wordpress.org/WP_DEBUG so we could see errors log on your site.
Regards
I’ve enabled debugging. Thanks in advance.
Is your problem solved? http://prntscr.com/fy39st
Regards
Please find the info below.
Yes, what was the issue?
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”>
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
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
Please try this ftp
As you can see, errors aren’t related to our theme so try to disable this plugin http://prntscr.com/fy3ibo
Regards
To avoid any misunderstandings, please disable debug and the plugin and let me know about the situation with VC editor.
Regards
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
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
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/
Fixed.
Regards
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.
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
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
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
You must be logged in to reply to this topic.Log in/Sign up