• 解決済 mi2maru

    (@mi2maru)


    マルチサイトのPHPをphp53からphp56へ変更し、アップデートをしようとしましたが
    ダッシュボードが表示されず500エラーに。

    エラーを表示するように
    wp-config.phpの
    define(‘WP_DEBUG’, true);
    としたところ
    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /virtual/自分のID/public_html/ドメイン/wp-includes/functions.php on line 3436

    Notice: Trying to get property of non-object in /virtual/自分のID/public_html/ドメイン/wp-includes/ms-load.php on line 91

    Notice: Trying to get property of non-object in /virtual/自分のID/public_html/ドメイン/wp-includes/ms-load.php on line 98

    Notice: Trying to get property of non-object in /virtual/自分のID/public_html/ドメイン/wp-includes/ms-load.php on line 105

    Notice: Trying to get property of non-object in /virtual/自分のID/public_html/ドメイン/wp-includes/ms-load.php on line 105

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method runPHP::DetermineAllEvaldPosts() should not be called statically in /virtual/自分のID/public_html/ドメイン/wp-includes/plugin.php on line 505

    Notice: Undefined variable: show_stats in /virtual/自分のID/public_html/ドメイン/wp-content/plugins/stats/stats.php on line 1384
    と表示されます

    PHPのバージョンアップをして、wordpressの更新もしたいです
    マルチサイトではない方のwpはPHPのバージョンアップをし、自動でアップデートできました。
    プラグインやテーマもアップデートなどをPHP Compatibility Checkerを参考に削除などをしました

4件の返信を表示中 - 1 - 4件目 (全4件中)
  • munyagu

    (@munyagu)

    こんにちは

    出力されているメッセージはどれも500エラーの原因ではない気もしますが・・・

    プラグインを1つづつ無効にする、デフォルトテーマに変更するなどして500エラーの原因を特定するしかないと思います。

    トピック投稿者 mi2maru

    (@mi2maru)

    こんにちわ
    返信ありがとうございます。

    プラグインをすべて停止し、デフォルトのテーマにしました

    WordPress 5.6 が利用可能です ! 更新してください。
    から、更新を押し、
    WordPress の新しいバージョンがあります。
    WordPress 5.6 は PHP 5.6.20 以降を必要とするため、更新を実行できません。現在稼働しているバージョンは 5.3.29 です。
    のページにて、サイトのPHPをphp56に変更しリロードすると、500エラーになります。
    PHPを53に戻すと通常通りになります
    PHPを上げると動かなくなるのはわかったのですが、これからどうしたらいいかわかりません

    手詰まりです……

    トピック投稿者 mi2maru

    (@mi2maru)

    サイトのPHPをphp74にしてリロードすると

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_MatchesMapRegex has a deprecated constructor in /アドレス/wp-includes/class-wp.php on line 635

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Translation_Entry has a deprecated constructor in /アドレス/wp-includes/pomo/entry.php on line 14

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_Reader has a deprecated constructor in /アドレス/wp-includes/pomo/streams.php on line 12

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_FileReader has a deprecated constructor in /アドレス/wp-includes/pomo/streams.php on line 106

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_StringReader has a deprecated constructor in /アドレス/wp-includes/pomo/streams.php on line 150

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedFileReader has a deprecated constructor in /アドレス/wp-includes/pomo/streams.php on line 189

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedIntFileReader has a deprecated constructor in /アドレス/wp-includes/pomo/streams.php on line 204

    Warning: Cannot modify header information – headers already sent by (output started at /アドレスwp-includes/class-wp.php:635) in /アドレス/wp-includes/ms-settings.php on line 162

    と表示されます

    これはファイルを手動で新しいバージョンにしたほうがいいということでしょうか……?

    トピック投稿者 mi2maru

    (@mi2maru)

    こんにちわ
    お手上げでマルチサイトすべてのPHPを74にしてから放置し、

    WordPress の新しいバージョンがあります。
    WordPress 5.6 は PHP 5.6.20 以降を必要とするため、更新を実行できません。現在稼働しているバージョンは 5.3.29 です。

    のページにて、変更しリロード。エラーを吐きながら、
    更新ボタンが出現しました。
    更新ボタンを押したところバージョンアップできた模様です。
    何故できなかったのかわからなかったのですが、時間をおいて放置した(?)ことが良かったのかもしれません

4件の返信を表示中 - 1 - 4件目 (全4件中)
  • トピック「マルチサイトPHPをphp53から上げられない」には新たに返信することはできません。