My php won't upgrade due to an error with the Theme Plugin as well as WooCommerce templates won't update with current theme selected. WordPress support told me to reach out to the theme author for resolution.
Here is a copy of the PHP updating error conversation
So the issue is that aforementioned plugin, I can give you the exact error it's throwing with php 8 but you'd need to speak with the plugin dev to see what their recommended solution on this one is.
18 PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /nas/content/live/diamondw/wp-content/plugins/js_composer_salient/include/classes/editors/class-vc-frontend-editor.php on line 653
okay so its specifically on line 653
Correct, of that referenced file
is there anyway you can reenable that them plugin so the site goes back to normal?
theme*
and revert the php to 7.4
Here specifically is line 653 of class-vc-frontend-editor.php:
I'd reach out to the composer of at https://themenectar.com/ for assistance with that aforementioned error, they should get this questions a lot, and they can advise on the solution
Here is the copy of the woocommerce templates that won't update
""salient/woocommerce/checkout/form-checkout.php, salient/woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 5.2.0, salient/woocommerce/checkout/terms.php, salient/woocommerce/content-product.php version 3.4.0 is out of date. The core version is 3.6.0, salient/woocommerce/content-single-product.php version 3.4.0 is out of date. The core version is 3.6.0, salient/woocommerce/loop/add-to-cart.php, salient/woocommerce/loop/loop-start.php, salient/woocommerce/myaccount/form-login.php version 3.5.0 is out of date. The core version is 7.0.1, salient/woocommerce/single-product/product-image.php, salient/woocommerce/single-product/tabs/description.php, salient/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0
If, however, you are using a theme with older templates or an older version of WooCommerce, you may need to update templates yourself or contact the theme author for an update.
Most theme authors fix themes in a timely manner, so you only need to update your theme to get the updated templates.""
We have been using this theme for years and we absolutely love it and are so grateful for what you guys do. I am really hoping there is a solution to solve both of these problems to keep our site up to date. I am looking forward to your response.
In Order to fix these issues you would need to update to the Latest Salient Theme Version.
The current version of the theme is 15.0.8 and the current version of the page builder is 6.9.1. Salient versions older than v11 won't be compatible with WordPress 5.5.
Here's the documentation on the available methods for updating Salient: http://themenectar.com/docs/salient/updating-salient/#methods Once you've updated that, the update for the included page builder will become available. Note that "Visual Composer" also renamed their plugin on Envato to "WPbakery page builder" a couple of years back.
My php won't upgrade due to an error with the Theme Plugin as well as WooCommerce templates won't update with current theme selected. WordPress support told me to reach out to the theme author for resolution.
Here is a copy of the PHP updating error conversation
So the issue is that aforementioned plugin, I can give you the exact error it's throwing with php 8 but you'd need to speak with the plugin dev to see what their recommended solution on this one is.
18 PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /nas/content/live/diamondw/wp-content/plugins/js_composer_salient/include/classes/editors/class-vc-frontend-editor.php on line 653
okay so its specifically on line 653
Correct, of that referenced file
is there anyway you can reenable that them plugin so the site goes back to normal?
theme*
and revert the php to 7.4
Here specifically is line 653 of class-vc-frontend-editor.php:
$host = isset( $s['HTTP_X_FORWARDED_HOST'] ) ? $s['HTTP_X_FORWARDED_HOST'] : isset( $s['HTTP_HOST'] ) ? $s['HTTP_HOST'] : $s['SERVER_NAME'];
I'd reach out to the composer of at https://themenectar.com/ for assistance with that aforementioned error, they should get this questions a lot, and they can advise on the solution
Here is the copy of the woocommerce templates that won't update
""salient/woocommerce/checkout/form-checkout.php,
salient/woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 5.2.0,
salient/woocommerce/checkout/terms.php,
salient/woocommerce/content-product.php version 3.4.0 is out of date. The core version is 3.6.0,
salient/woocommerce/content-single-product.php version 3.4.0 is out of date. The core version is 3.6.0,
salient/woocommerce/loop/add-to-cart.php,
salient/woocommerce/loop/loop-start.php,
salient/woocommerce/myaccount/form-login.php version 3.5.0 is out of date. The core version is 7.0.1,
salient/woocommerce/single-product/product-image.php,
salient/woocommerce/single-product/tabs/description.php,
salient/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0
If, however, you are using a theme with older templates or an older version of WooCommerce, you may need to update templates yourself or contact the theme author for an update.
We have been using this theme for years and we absolutely love it and are so grateful for what you guys do. I am really hoping there is a solution to solve both of these problems to keep our site up to date. I am looking forward to your response.
Thank you again - Jordan R.
Hey Jordan,
Thanks for using Salient.
In Order to fix these issues you would need to update to the Latest Salient Theme Version.
The current version of the theme is 15.0.8 and the current version of the page builder is 6.9.1. Salient versions older than v11 won't be compatible with WordPress 5.5.
Here's the documentation on the available methods for updating Salient: http://themenectar.com/docs/salient/updating-salient/#methods Once you've updated that, the update for the included page builder will become available. Note that "Visual Composer" also renamed their plugin on Envato to "WPbakery page builder" a couple of years back.
Here's an update guide on what to expect when jumping many major releases at once: http://themenectar.com/docs/salient/important-salient-update-for-new-envato-requirements/ take a read through before the update, as many things have changed.
To get a list of Bug Fixes and new Feature addons in the Latest Theme updates view change log here http://themenectar.com/changelogs/salient.html .
Best.
ThemeNectar Support Team