Created
April 9, 2024 17:08
-
-
Save larbous/ded3f35c32dbf87e222e320afc15f8f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 /var/www/wp- * content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php on line 646 | |
* | |
*Como resolver | |
*O erro indica que a versão do WPBakery usada não é compatível com a versão do PHP atualmente ativa. Você precisaria baixar a versão | |
*mais recente do WPBakery para corrigir isso. Como WPBakery é um produto comercial, entre em contato com o suporte para mais dúvidas: | |
*https://wpbakery.com – perguntas sobre produtos comerciais não são permitidas aqui no fórum. | |
* | |
*Você pode corrigir temporariamente o erro mudar a linha 646 para a seguinte forma: | |
$host = isset( $s['HTTP_X_FORWARDED_HOST'] ) | |
? $s['HTTP_X_FORWARDED_HOST'] | |
: ( isset( $s['HTTP_HOST'] ) | |
? $s['HTTP_HOST'] | |
: $s['SERVER_NAME'] ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment