Suporte » Ajustando o WordPress » Problemas Locaweb

  • Prezados,

    Tenho um site hospedado na Locaweb, com o Betheme 12.5, e do nada, as páginas não aparecem. entrei em contato com o suporte deles, refiz a instalação de ambos, alterei as configurações de memória e nada. No DEBUG do WordPress dá o seguinte erro

    PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 14:07:57 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 14:08:14 UTC] PHP Warning:  Ocorreu um erro inesperado. Algo pode estar errado com o WordPress.org ou a configuração deste servidor. Se você continuar a ter problemas, tente o <a href="https://wordpress.org/support/">Fórum de Suporte</a>. (O WordPress não conseguiu estabelecer uma conexão segura com o WordPress.org. Contate o administrador do servidor.) in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-includes/update.php on line 306
    [09-Aug-2016 14:08:35 UTC] PHP Notice: The data could not be converted to UTF-8. You MUST have either the iconv or mbstring extension installed. Upgrading to PHP 5.x (which includes iconv) is highly recommended. in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-includes/class-simplepie.php on line 1446
    

    não sei mais o que fazer, pois o suporte do Betheme me passa que basta aumentar a capacidade de memória do php.ini.

Visualizando 5 respostas - 1 até 5 (de um total de 5)
  • Bom, tem um Fatal error ali né, abre esse style.php no root do seu tema na linha 132, ali diz que tem um tipo de operador inválido, basta arrumar isto e se seu tema não tiver mais nenhum erro o site voltará a funcionar normalmente.

    Criador do tópico marciolrp

    (@marciolrp)

    Prezado Matheus.

    A linha em questão é esta:

    line-height: <?php echo $aFontSize['content'] + 8; ?>px;

    Não consigo ver o erro nela.

    Criador do tópico marciolrp

    (@marciolrp)

    Vou passar a expressão toda do php, até a linha 132

    <?php 
    	$aFontSize = $aFontSizeDefault = array(
    		'content'	=> mfn_opts_get( 'font-size-content', '13' ),
    		'menu'		=> mfn_opts_get( 'font-size-menu', '14' ),
    		'title'		=> mfn_opts_get( 'font-size-title', '25' ),
    		'h1'		=> mfn_opts_get( 'font-size-h1', '25' ),
    		'h2'		=> mfn_opts_get( 'font-size-h2', '30' ),
    		'h3'		=> mfn_opts_get( 'font-size-h3', '25' ),
    		'h4'		=> mfn_opts_get( 'font-size-h4', '21' ),
    		'h5'		=> mfn_opts_get( 'font-size-h5', '15' ),
    		'h6'		=> mfn_opts_get( 'font-size-h6', '13' ),
    		'intro'		=> mfn_opts_get( 'font-size-single-intro', '70' ),
    	);
    ?>
    
    	
    /* Body */
    
    	body {
    		font-size: <?php echo $aFontSize['content']; ?>px;
    		line-height: <?php echo $aFontSize['content'] + 8; ?>px;
    	}	

    Bom esse código que você passou realmente não tem nenhum erro aparentemente, o LOG de erros mostrava só aqueles 4 itens mesmo? roda o site mais uma vez e joga o log desse horário aqui pra ver qq deu.

    Criador do tópico marciolrp

    (@marciolrp)

    Segue o novo log gerado:

    [09-Aug-2016 14:07:57 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 14:07:57 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 14:08:14 UTC] PHP Warning:  Ocorreu um erro inesperado. Algo pode estar errado com o WordPress.org ou a configuração deste servidor. Se você continuar a ter problemas, tente o <a href="https://wordpress.org/support/">Fórum de Suporte</a>. (O WordPress não conseguiu estabelecer uma conexão segura com o WordPress.org. Contate o administrador do servidor.) in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-includes/update.php on line 306
    [09-Aug-2016 14:08:35 UTC] PHP Notice: The data could not be converted to UTF-8. You MUST have either the iconv or mbstring extension installed. Upgrading to PHP 5.x (which includes iconv) is highly recommended. in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-includes/class-simplepie.php on line 1446
    [09-Aug-2016 14:21:02 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 14:21:02 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 19:04:46 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 19:04:46 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 19:17:39 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 19:17:39 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 19:41:15 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 19:41:15 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 19:46:32 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 19:46:32 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 19:58:03 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 19:58:03 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    [09-Aug-2016 20:41:07 UTC] PHP Notice:  Array to string conversion in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 131
    [09-Aug-2016 20:41:07 UTC] PHP Fatal error:  Unsupported operand types in /home/storage/b/9b/47/supporthospitalar1/public_html/wp-content/themes/betheme/style.php on line 132
    
Visualizando 5 respostas - 1 até 5 (de um total de 5)
  • O tópico ‘Problemas Locaweb’ está fechado para novas respostas.