This topic has 29 replies, 5 voices, and was last updated 6 years, 10 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
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 ..”
Please find attached admin details in the private content area.
Thanks.
David
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.
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
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
Many thanks team!
🙂
Hi:
Will be overrride theme-functions.php when we update the template?
Thanks.
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
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.
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
You must be logged in to reply to this topic.Log in/Sign up