Error using custom design option visual composer with applay theme - wordpress

When purchasing the Applay Application theme for wordpress it is recommended to install Visual Composer.
It looks simple enough attempting to create custom CSS, however any attempts to save the use design options
Gives an error:
Design options could not be saved. Error: error evaluating function darken:a.toHSL not a function.
Which essentially means there is an element that cannot have no color value, that is attempted to being darkened.
I searched the theme, thinking I'd done something creating a child theme, reverted it back to the parent theme and could not solve it.
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.

It turns out the error is due to the apptheme's author's own inbuilt theme customisation and a lack of compatibility with Visual Composer.
I received this email repsonse from the support for 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
I decided to post this, as it may help others searching for this.

Related

Themecheck plugin showing an error about Kirki(wordpress framework) text domain

I am using Kirki framework to develop a WordPress theme. After completing the theme I tested my theme using theme check plugin. It throws an error
More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs.
The domains found are myTheme, kirki.
I ignored this issue and submitted my theme to themeforest.net but the review team asked me o solve this issue. Is there anyway i can solve this issue.
Any help would be appreciated. Thanks in advance ;)
This is the answer which I got from the support person.
Ideally you wouldn't be including kirki in your theme... You can instead require its installation as a plugin. This way your users will also get any future bugfixes and improvements simply by updating the plugin.
If you don't want to do that and insist on including Kirki in your theme, then there's nothing to worry about...
Kirki has a separate implementation for localizations when used inside a theme: https://github.com/aristath/kirki/blob/develop/l10n.php
The WPTRT team is aware of that and in fact the textdomain is whitelisted when submitting a theme in wordpress.org for exactly that reason (hybrid-core is another one that is whitelisted because they both use the same implementation).
You can point this out to the theme reviewer and link to this thread here, if there any more questions from them I would be more than happy to answer them.
If you don't want to do that either, then you can just manually go through the files and change all 'kirki' textdomains to your own.

Visual Composer Front-end editor disabled

I was wondering you could shed a light to my WordPress premium theme issue. So I have a theme that comes with visual composer plugin. I notice front-end editor is not enabled. I checked the function.php file to enable it, but the code vc_disable_frontend(); is nowhere to be found.
I contacted the author theme who advised to add vc_enable_frontend(); at the end of the file. But when I include it, I am getting errors.
I contacted the author again regarding the issues and he as since fail to get back to me. I researched on the web, it is the same steps I was asked to take.
I need it enabled for visual customisation. I can attach the function code on request.
Thanks in advance

How to find out what process is using wp_mail?

While enabling Sendgrid plugin I get such a message:
SendGrid: wp_mail has been declared by another process or plugin
An interesting thing is that I disable all plugins and enabling this plugin I still get this error. Is it possible to see what kind of process is using wp_mail?
Refer below scenario,
1. Maybe plugin not supported your WP version.
2. This plugin may used WP core class or function because of that this second time declaration error may occur.

Getting started with Redux in WordPress

I apologize if this has been asked before, but after doing some research, I could not find any resources answering this specific question of mine.
I'm trying to use the Redux framework in my WordPress theme. I used the builder to get started, which is linked to on the plugin page. I customized my framework there and chose the option of "embed only" (Embed Only: TGM is not used and Redux is embedded within the theme/plugin). I also exported as a custom theme, which uses Underscores. As a result, I now have admin directory inside of my theme, with an "options-init.php" file in it. I've been modifying this file to add my options. Is this right? In the documentation it mentions to look for a sample-config.php file, and to copy that and modify it, but I can't find that anywhere. I want to make sure I'm doing this right before I get too far and find an issue.
Also, how do I make sure the framework stays up to date with the latest security patches? Is it a better idea to install it as a plugin rather than embed it in the theme itself?
Lead dev of Redux Framework here. It is very much a better idea to run Redux via a plugin if you want your users to have security updates.
Another option is to embed redux, but to use TGM to suggest for users to install the plugin. This way your theme is not dependent on Redux, but the moment they install the plugin, that version of Redux will take over.
It's up to you, but the plugin is the way to go.

Drupal: xmlsitemap file is not generated

I have chosen XMLSiteMap module from the most popular usage statistics on Drupal site,
so I assume the module is not too buggy. But the map file is absent.
I've installed this module on my Windows machine into drupal/sites/default/modules.
I've activated all the submodules of XMLSiteMap in admin menu.
Per docs, I've also run cron.php manually to create sitemap.xml in drupal/sites/default/files - but it's just not present there even when second re-install.
How can I force to create sitemap.xml?
(also tried with and w/o clean URLs - still no help).
Also, if there any good reliable alternative for this module?
Are you sure you've installed it properly? Please check the Status report (admin/logs/status in Drupal 5, admin/reports/status in Drupal 6) to ensure that you've got everything right.
It's possible that you haven't set the permissions of sites/default/files properly yet for example.
I'm not sure if this will help you, but if you are looking for an actual created sitemap.xml file rather than navigating to it in the browser I don't believe one is created by the module. I think the module creates a menu callback to create the sitemap file, so a request for sitemap.xml is handled by Drupal's menu system, rather than creating an actual file. There will however be a cached version in sites/default/files/xmlsitemap.
Apologies if this is an oversimplification of the question asked.
I have not had any problems with the reliability of the module myself.
Also make sure you have the latest version installed, it just came out yesterday:
http://drupal.org/project/xmlsitemap
Also, see this issue, seems related to your problem:
http://drupal.org/node/458546
I'd probably recommend trying the 6.x-2.x branch which I've been rewriting to kind of solve all the annoying bugs and architectural problems of the 6.x-1.x branch. It's currently incomplete, but it works for nodes and menu items currently. Taxonomy terms and user profiles will be added soon.
You can find the link to it on the project page. Sorry I can't link since I'm a new user. :)
Running the CRON worked for me:
/admin/reports/status/run-cron

Resources