使用带有应用主题的自定义设计选项视觉作曲家时出错

Error using custom design option visual composer with applay theme

购买 wordpress 的应用程序主题时 it is recommended to install Visual Composer

尝试创建自定义 CSS 看起来很简单,但是任何试图保存 使用设计选项的尝试

报错:

Design options could not be saved. Error: error evaluating function darken:a.toHSL not a function.

这本质上意味着有一个元素不能没有颜色值,试图变暗。

我搜索了主题,以为我做了一些创建子主题的事情,将其还原为父主题,无法解决。

Both reports of this on the support page were:

Hi, we haven’t received such complains before – please open support ticket at support.wpbakery.com and share your site credentials so our support team can help you out.

原来这个错误是由于apptheme作者自己的内置主题定制和与Visual Composer缺乏兼容性造成的。

我收到了来自 Visual Composer 支持的电子邮件回复。

The issue is because there is an inbuilt version of Visual Composer (or the related code) present in your theme which is overriding the standalone plugin version and hence causing the issue. You will have to get rid of it. I would advise you to do so with the help of theme author, otherwise you might loose the extra elements added by him. Once this is done, you can install the standalone plugin and it will work fine. Kindly check.

The theme author is the one who built the theme. In your case he is: http://themeforest.net/user/leafcolor

我决定 post 这个,因为它可以帮助其他人搜索这个。