Code

Discussion on WPBakery Page Builder for WordPress

Discussion on WPBakery Page Builder for WordPress

Cart 407,571 sales
Recently Updated

wpbakery supports this item

Supported

This author's response time can be up to 1 business day.

22691 comments found.

Hello,

Pre-purchase question here: I would like to be know if there is an extension/option to insert some lines of WP bakery above the Woocommerce shopping pages (also on the woocommerce category pages).

I would like to be able to make custom Woocommerce category pages with WP Bakery. The page should look like the following: on top some text with an image carroussel next to it. Underneath that section I would like to see a widgetised sidebar with Woocommerce filter options and the Woocommerce products next to that.

I know that when I insert text into the product-category description it should display on top of the page but we are looking for more controle over the layout.

I also know that when I make a standard wordpress pages and make a redirect from the product category URL to the standard wordpress page URL it also should be possible but then I lose some of the filter options in the widgetised area because it isn’t a legal Woocommerce shop page.

I’ve already contacted Woocommerce and they said that I should contact you gys. I hope you can help me with this.

Kind regards, Sanne

Hello, The product category page is controlled by woo-commerce which outputs dynamic content as per the query specified in it’s PHP template. Due to this, the WPBakery Page Builder cannot work on it to edit the same. The page builder can only work on static pages.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hello, I‘m using the Unicorn Theme and want to change that now. If I change it to any other theme where wp bakery is working I have the shortcuts with minti_spacer and else in the code which the wp bakery is not compiling. We are trying this on a subdomain to test. Could the problem be cause the website url in the license is not the same or what do you think? Thank you for response. Best wishes

Hello, The shortcode such as minti_spacer is not an element from WPBakery Page Builder. It is a custom element added by the theme and hence it does not render with other themes.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hi,
Our customer is getting https://www.dropbox.com/s/6v5xazaq7om1u30/Screen%20Shot%202020-11-02%20at%2012.01.11.png?dl=0, We are using the newest version.
How can We resolve it?
Thanks

Hello, Please use support.wpbakery.com and share your temporary website credentials so our support team can investigate your issue and help you out.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hola, antes de comprar… ¿Necesito saber si necesito algo adicional para que su sistema funcione aparte de wordpress?

Hello, The plugin relies on WordPress requirements and does not have any additional system requirements.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

y algún demo ?

Hello, You can check the plugin demo here: http://wpbakery.com/try



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

when I click “import it”, it did ask for my Envato login details, but then just returned to the Help Center ‘No Licenses Found’ page.

Hello, Can you please share the purchase invoice via our profile contact form on: https://codecanyon.net/user/wpbakery



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

After cleaning malware and hack files off of three sites today (all running Page Builder) I now have a clean scan from wordfence on all 3. However, I do have this error in the log:

[Oct 30 10:47:14:1604080034.378392:1:error]
Notice: Undefined property: Vc_Updater::$title in /home/sitepath/ourwebsite.com/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php on line 128

Warning: Creating default object from empty value in /home/sitepath/ourwebsite.com/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php on line 128

Notice: Undefined property: stdClass::$sections in /home/sitepath/ourwebsite.com/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php on line 129

Notice: Undefined index: changelog in /home/sitepath/ourwebsite.com/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php on line 130
0

I don’t know what that means, but I’m concerned that the plugin could be involved in the hacks. I’m just leaving the notice here for your information.

Hello, Please update the WPbakery Page Builder to the latest version which is 6.4.1. This version has the security fixes which were shared by WordFence.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

any solution to the question below that a user made a few years ago?

User justclint

about 5 years ago Flag HI, a few years back I recall working on a site that had Visual Composer and if I recall correctly it had something called ”Blocks” or ”Block Templates.”

Basically it was like widgets for VC so we could save blocks of data and then display them wherever.

Ive been using VC for some time now and I only saw that feature once so Im assuming its not part of core VC. I was wondering if its an add-on and if so which one is it as I can not seem to find any add-on that fits that description.

Im currently building VC templates for a client and this feature would be a tremendous help.

Thanks!

RaitisSevelis AUTHOR TEAM

about 5 years ago Flag Hello, we have template system which allows you create block, save it as a template and do not save this block. After that you can add it to any pages, post or custom post types.

User justclint

about 5 years ago Flag Thanks Raitis for the response. I see the template system but I do not see how it works like widgets. I understand I can create a template and then add it to many pages/posts. But I do not see how I can edit that template and have the update reflect on all the pages/posts I placed it in.

The system I worked on ( a long time ago ) had a WP menu item called ”blocks” and it had the VC logo so I assumed it was some type of VC add on. Whatever it was it worked just like WP widgets, but just for VC.

Does VC have a feature like this or if not is there an add on you know of to be able to do this?

Thanks!

Hello, The WPBakery Page Builder works in content area of the page and hence it does not support adding content within widgets. However, there was a third party add-on of templatera add-on: https://codecanyon.net/item/templatera-widget-for-visual-composer/7044034 which made this possible. Please do make sure to re-confirm the functionality with the add-on developer before making it’s purchase.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hi, after i create a template, can i edit it? because I want to put it in more pages, and if I have to modify a text in all the pages the best thing is to be able to modify the template. It’s possible to do it? Such as? thank you

Hello, You can do so using the templatera add-on. The templatera element will lock the template content on pages and hence any change that you make to the template will be reflected on the pages where it is added.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hello. We use WPBakery Page Builder with The Retailer theme (bundled with the theme) and also WooCommerce Product Vendors.

Whilst using both WPBakery Page Builder and WooCommerce Product Vendors plugins together, an error occurs causing part of the system to fail. This is only a recent problem, after using these plugins together successfully since 2014.

This error occurs in the WPBakery Page Builder code when a vendor tries to update a product in their store. The stack dump for the error is provided below:

[11-Oct-2020 04:27:25 UTC] PHP Fatal error: Uncaught Error: Call to a member function has_cap() on null in /var/www/html/wp-content/plugins/js_composer/include/autoload/vc-pages/page-role-manager.php:61

Stack trace:

0 /var/www/html/wp-includes/class-wp-hook.php(287): wpb_unfiltered_html_state(NULL, NULL)

1 /var/www/html/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array)

2 /var/www/html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(66): apply_filters(‘vc_role_access_…’, NULL, NULL)

3 /var/www/html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(241): Vc_Role_Access_Controller->getState()

4 /var/www/html/wp-content/plugins/js_composer/include/classes/core/access/abstract-class-vc-access.php(56): Vc_Role_Access_Controller->checkState(true)

5 /var/www/html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(253): Vc_Access->checkMulti(‘checkState’, true, Array)

6 /var/www/html/wp-content/plugins/j in /var/www/html/wp-content/plugins/js_composer/include/autoload/vc-pages/page-role-manager.php on line 61

The versions of the plugins are as follows:

WooCommerce Version 4.5.2

WooCommerce Product Vendors Version 2.1.43

WPBakery Page Builder Version 6.3.0

CODE ANALYSIS

On reviewing the WPBakery code, it seems that the error occurs as the has_cap() method is being referenced from a null pointer. ($role) See function below.

function wpb_unfiltered_html_state( $state, $role ) {

if ( is_null( $state ) ) {
return $role->has_cap( 'unfiltered_html' );
}

}

Further investigation shows that the null $role value is being provided by the WPBakery getRole() function at login time. The getRole() function can be found in the below file:

/var/www/html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-current-user-access-controller.php

After single stepping through this code it appears as though getRole() function calls get_editable_roles () function that in turn allows other plugins to filter the available roles.

This is where the issue occurs. At login, the WooCommerce plugin filters the available roles too aggressively removing the role of the logged in user. In this case “wc_product_vendors_admin_vendor” role causing a null value to be returned.

Please see below the editable roles BEFORE the WooCommerce public function filter_user_roles

$value Array [10]

[administrator] Array [2]

[editor] Array [2]

[author] Array [2]

[contributor] Array [2]

[subscriber] Array [2]

[customer] Array [2]

[shop_manager] Array [2]

[wc_product_vendors_admin_vendor] Array [2]

[wc_product_vendors_manager_vendor] Array [2]

[wc_product_vendors_pending_vendor] Array [2]

Please see below the editable roles AFTER the WooCommerce public function filter_user_roles

$value Array [2]

[customer] Array [2]

[subscriber] Array [2]

WORKAROUND

In order to provide a workaround for the issue whilst WPBakery hopefully provide a bug fix, we have added the below patch to the getRole () function that restores the editable roles after the aggressive WooCommerce filters out the logged in user. See below.

This is provided as it might assist with understanding and resolving the defect. we are not suggesting this is the correct fix for the problem.

/

  • @return bool|\WP_Role|null

/

public function getRole() {

if ( ! $this->roleName && function_exists( ‘wp_get_current_user’ ) ) {

$user = wp_get_current_user();

$user_roles = array_intersect( array_values( (array) $user->roles ), array_keys( (array) get_editable_roles() ) );

//Our Patch

//Enables GetRole to return a non-null value after get_editable_roles() is cut down by WooCommerce filter_user_roles( $roles )

global $wp_roles;

$user_roles = array_intersect( array_values( (array) $user->roles ), array_keys( (array) $wp_roles->roles ));

$this->roleName = reset( $user_roles );

$this->role = get_role( $this->roleName );

}

return $this->role;

}

CONCLUSION

Given the error appears to be generated by the WPBakery code and vendors can update and manage their WooCommerce sites when the WPBakery plugin in disabled, it leads to the conclusion that the defect should be addressed by WPBakery and not WooCommerce.

Further to that, the WPBakery code should not be attempting to reference a null pointer at any time regardless (not good coding practice).

As Page Builder came bundled with our theme, we are unable to contact you directly via your support, so we hope this communication reaches your support team.

Thankyou.

Hello, Thanks for sharing it with us. We will add it onto our list so that it can be checked in near future.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

It doesn’t enable it in 6.4.1 version, but I installed 5.7, activated it and then updated it. Activation has occurred. It works fine but it does not activate in 6.4.1 version.

Hello, Please use support.wpbakery.com and share your temporary website credentials so our support team can investigate your issue and help you out.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hello, I have a pre-sales question. What is the difference between buying a license here or buying a license at wpbakery.com website? Difference is of 20$!

Hello, The price difference is due to the envato platform fee which is applicable here. The same is not applicable on our website.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

my license mail address is hakanmert51@hotmail.com

When I press the Aktivate wpbakery page builder button, it is waiting and it cannot reach the server. If you want to take a screenshot, you can write your own address in the internet browser and try it. link https://go.wpbakery.com/ If the error screenshot is: https://prnt.sc/v84xi4 Please check.

Hello, Please drop us a message via profile contact form and share your temporary login details in it, so that the issue can be checked further.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

I have license from Wpbakery page builder 6.4.1 code canyon. Pressing license button, https://go.wpbakery.com/ page gives an error. And I just can’t license it

Please check https://go.wpbakery.com/ fix this error I have 4 licenses I wanted to use 1 but buy it again for support it says it doesn’t make sense

Hello, Please drop us a ticket via profile contact form and share the email id used for purchasing the plugin, so that the issue can be checked further.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Is the plugins supports webp image format?

Hello, The plugin currently does not support webp format. It supports jpg, png, etc.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hello, team. Is it possible to set “logo 1” for 1st language’s pages and “logo 2” for 2nd language’s pages? By default Wordpress offer only 1 logo image for all pages. Thank you in advance.

Hello, The logo display in most cases is controlled by the theme as it is present in header. The WPBakery Page Builder can only work within content area of the page.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hello team, I get an error when trying to update to the latest version -> WPBakery Builder Update Failed: Download failed. A valid URL was not provided. Do you have any info about this?

Hello, Please make sure that you have activated the plugin license as per: https://wpbakery.com/video-academy/activate-wpbakery-page-builder-wordpress-license/ If the issue still persist, then please open a ticket via support portal: http://support.wpbakery.com/ so that the support team can investigate it further.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hi, every theme I have bought a theme that uses WP Baker, ity always has issues updating. I understand that I don’t have my own licence because it’s bundled with the theme, it’s really annoying to always see the update for the plugin required and most times it always resolves an error when I try to update WP Bakery in the plugins section and the same when I go to Appearance > Install Plugins > Update Visual Composer = Incorrect license key. I have contacted my theme developer for a year on this and they always say the same thing, don’t worry about it the plugin will still work. Now my support is expired for the theme and low and behold the WP Bakery edit pages don’t work when I click on them nothing happens. What can be done to fix this? Many thanks

Hello, As you got the plugin within a theme, you will need to contact your theme author for support or use our support at support.wpbakery.com. You will require a direct license of WPBakery Page Builder for support access.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

It’s not there product its’s your and expecting me to buy a licence for your to support your product that isn’t working is wrong.

Hi, there’s news for compatibility issue between VC 5.1x and PHP <7.2 ?

Hello, We would recommend running latest version of WPBakery Page Builder which is 6.4.1 and is compatible with recent PHP releases. The 5.1 is a very old version and might not be compatible with recent WordPress releases.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Hiya Team,

I can’t seem to Update (or Activate) to the latest 6.2.0 version of WPBakery. I originally bought it through Envato, but when following the ‘Activate WPBakery Page Bakery’ link, the Help Center doesn’t seem to recognise and says ‘No Licenses Found’.

I’d love to enable auto-updates for the future, because my website homepage has been down for a week now.

Thanks for your help.

Hello, Please drop a message via our profile contact form, so that the issue can be checked further.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

Whereabouts can I find the profile contact form?

My apologies, I’ve been looking around so much, that it’s all blending into one now :)

Hello, You can find the profile contact form here: https://codecanyon.net/user/wpbakery



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

I am creating a website for 5 different categories. I am using the Post Masonry Grid all the time (part of a theme). It is very useful, but I miss the Grid elements per row setting for 5? 1,2,3,4 and 6 are available. How can I have the 5? At the moment I am using 4 or 6 (but having the last option on the second row is not very userfriendly and setting it to 6 makes it look too small and wierd).

Any idea?

Hello, Our standard grid does not support 5 column layout. We do have many third party add-ons which has their own grids and might have such a feature.



Knowledge Base · Official Support · Facebook · Twitter

Don’t forget to join our newsletter. Be first to get news and inside secrets from WPBakery team.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey