Salient is throwing an error after updated to the latest version. I have tried deleting VC, then updating, then reinstalling, and still I have this error:
Warning: _() expects exactly 1 parameter, 2 given in /home/bvillebball/webapps/bbcwebsite/wp-content/themes/salient/nectar/nectar-vc-addons/nectar-addons.php on line 4173
Salient 7.5.01 is now available for Download on the Themeforest Download Page , Visual Composer has also been Updated to Version 4.12.
If you're upgrading from Salient VC 4.9.2, you'll need to delete the plugin from your plugins section in the WordPress admin panel before installing the current version (4.12) in Appearance > Install Plugins - This is necessary due to a bug in the Salient VC 4.9.2 which prevents regular updating.
No, actually that doesn't fix it, as I just purchased a new license today and installed fresh. I followed these instructions perfectly and am not a novice. You have a bug.
Please see my comment below and make the change to your file on line 4173 on nectar-addons.php
Edit: @Tahir I've bought Salient just two days ago. I have no knowledge of PHP whatsoever, but seeing double underscores here and there but only one before "("Large Depth", "js_composer")", it does look like someone just accidentally forgot to add another underscore there. Which can happen - no blaming :) Doing it the way Brian suggested works perfectly fine.
Salient is throwing an error after updated to the latest version. I have tried deleting VC, then updating, then reinstalling, and still I have this error:
Warning: _() expects exactly 1 parameter, 2 given in /home/bvillebball/webapps/bbcwebsite/wp-content/themes/salient/nectar/nectar-vc-addons/nectar-addons.php on line 4173
I need help asap
I am having the same issue as Brian and everyone else!!! What's the fix??
Same here... Error is displayed on the website and in the Wordpress backend :/
Same issue can not log into admin now because of error
Trouble seems to be with this line in the nectar-addons.php file:
"value" => array(__("None", "js_composer") => "none", __("Small Depth", "js_composer") => "small_depth", __("Medium Depth", "js_composer") => "medium_depth", _("Large Depth", "js_composer") => "large_depth"),
Could it be as simple as changing that single underscore before .("Large Depth.... to a double underscore?
That did it. Here is the fix... no thanks to ThemeNectar.
Open the nectar-addons.php file located in the nectar > nectar-vc-addons folder and search for the following code:
"value" => array(__("None", "js_composer") => "none", __("Small Depth", "js_composer") => "small_depth", __("Medium Depth", "js_composer") => "medium_depth", _("Large Depth", "js_composer") => "large_depth"),
and change it to:
"value" => array(__("None", "js_composer") => "none", __("Small Depth", "js_composer") => "small_depth", __("Medium Depth", "js_composer") => "medium_depth", __("Large Depth", "js_composer") => "large_depth"),
Save the file, then override the file using FTP and you should be good to go.
Hey Guys,
Salient 7.5.01 is now available for Download on the Themeforest Download Page , Visual Composer has also been Updated to Version 4.12.
If you're upgrading from Salient VC 4.9.2, you'll need to delete the plugin from your plugins section in the WordPress admin panel before installing the current version (4.12) in Appearance > Install Plugins - This is necessary due to a bug in the Salient VC 4.9.2 which prevents regular updating.
To get a list of Bug Fixes and new Feature addons in the Latest Theme update, the changelog can be viewed here : http://themenectar.com/changelogs/salient.html .
Update the theme by following this guide: https://themenectar.ticksy.com/article/3218/ . Visual Composer update instructions can be viewed here : https://themenectar.ticksy.com/article/5182/ .
Best.
ThemeNectar Support Team
No, actually that doesn't fix it, as I just purchased a new license today and installed fresh. I followed these instructions perfectly and am not a novice. You have a bug.
Please see my comment below and make the change to your file on line 4173 on nectar-addons.php
Regards.
It worked indeed. Thanks, Brian!
Edit:
@Tahir I've bought Salient just two days ago. I have no knowledge of PHP whatsoever, but seeing double underscores here and there but only one before "("Large Depth", "js_composer")", it does look like someone just accidentally forgot to add another underscore there. Which can happen - no blaming :) Doing it the way Brian suggested works perfectly fine.
Thanks Brain everything working again
Hey Guys,
The bug has been Fixed in Salient 7.5.01 and is available for Download as well .
Cheers
ThemeNectar Support Team