Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1828229
WPBakery license activation
Closed

Comments

  • iwilnai started the conversation

    I bought The Gem theme and am building out my website, and wanted to use templates in WPBakery, so I bought a license for WPBakery, uninstalled your included version of WPBakery, and installed the paid-for version of WPBakery. When I go to enter my license information to activate WPBakery, there's no License tab. I searched your knowledge base and found an article suggesting to switch to a free theme, activate WPBakery, and switch back to The Gem. I did that, and there was still no License tab. 

    WPBakery support said that it's because of the vc_set_as_theme() in The Gem theme. I found that piece of code in plugins.php and commented it out. That brought back the "Design Options" and "Custom CSS" tabs, but not the License tab.

    I saw in the WPBakery activation tutorial video that the page name is 'vc-updater' so I tried editing the URL in my browser to "<my site>/wp-admin/admin.php?page=vc-updater" but got the error "Sorry, you are not allowed to access this page."

    I noticed some code that alters the behavior based on whether the site is dev or production, and since our site is currently in development and named "dev.<domain>" I edited class-vc-license.php to remove "dev" from the array that the hostname is matched against, but that made no difference.

    There is still no License tab. Please let us know what else we can try. WPBakery is adamant that the problem is on the theme side, so I would very much appreciate your help in getting this resolved quickly. Thank you, and happy holidays!

  •  7,095
    Oliver replied

    Hi,

    Try to add this code to the functions.php of the child theme and check:

    add_action( 'init', 'thegem_child__disable_vc_updater', 1);
    function thegem_child__disable_vc_updater() {    
    remove_action( 'vc_before_init', 'thegem_disable_vc_updater' );    
    remove_action( 'vc_before_init', 'thegem_vcSetAsTheme' );
    }
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver