Suporte » Ajustando o WordPress » Mensagens WP DEBUG

  • Resolvido Kyko

    (@kyko)


    Boa noite a todos!
    Estou fazendo ajustes em um blog e ainda não consegui fazer com que funcione corretamente. Após ativar o WP DEBUG eu recebi as mensagens que seguem abaixo, mas não sei como proceder. Agradeço imensamente a quem possa me dar uma luz!

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; gallery_image_show has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/plugins/cp-framework/post-type-options/gallery/videogo_gallery_image_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; twitter_widget has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/plugins/cp-framework/widgets/twitter_widget.php on line 14

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; videogo_footer_widget has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_footer_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; videogo_ad_image_widget has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_ad_image_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; videogo_magazine_widget has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_magazine_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; videogo_popular_post has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_popular_posts_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; facebook_widget has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_facebook_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; videogo_newsletter_widget has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_newsletter_widget.php on line 2

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; videogo_category_listing has a deprecated constructor in /home/sexmotelcom/radiadora.tk/wp-content/themes/videogo/framework/extensions/widgets/videogo_category_listing_widget.php on line 2

Visualizando 4 respostas - 1 até 4 (de um total de 4)
  • Moderador Leo Baiano

    (@leobaiano)

    Seu servidor provavelmente está com a versão 7 do PHP e algumas classes do seu site estão utilizando construtores no estilo do PHP 4, então o PHP está notificando que isso está depreciado e pode não funcionar em versões futuras.

    Pelo que vi isso está acontecendo em algumas partes do tema e em um plugin, talvez atualizando a versão deles as mensagens parem de aparecer, mas isso ai não chega a ser um erro ainda, tudo deve estar funcionando normalmente.

    Você pode ler mais sobre isso aqui: https://secure.php.net/manual/pt_BR/migration70.deprecated.php

    Criador do tópico Kyko

    (@kyko)

    Obrigado pela atenção, Leo Baiano!

    Você diz que isso aí não chega a ser um erro, mas, como como a página inicial não atualiza a data dos posts recentes, nem os posts recentes (os dois últimos, por exemplo) não aparecem na página inicial (estática), eu pensei que tinha tudo a ver.

    Realmente não sei o que está havendo…

    Moderador Leo Baiano

    (@leobaiano)

    Essas notificações não possuem ligação direta com esse problema que você falou, tenho certeza disto. Abra um tópico pedindo ajuda com este problema, passa detalhes sobre como está criando a home, como está o loop que lista os posts e como está exibindo a data para facilitar para quem for te ajudar.

    Criador do tópico Kyko

    (@kyko)

    Valeu, Leo Baiano!

    Na verdade eu já havia aberto um tópico sobre esse problema das atualizações. Vou voltar lá e fornecer os detalhes que você recomendou.

    Obrigado por sua atenção!

Visualizando 4 respostas - 1 até 4 (de um total de 4)
  • O tópico ‘Mensagens WP DEBUG’ está fechado para novas respostas.