Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Jetpack has a deprecated constructor in /XXXXXXXX/wp-content/plugins/slimjetpack/class.jetpack.php on line 25
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Jetpack_User_Agent_Info has a deprecated constructor in /XXXXXXXXX/wp-content/plugins/slimjetpack/class.jetpack-user-agent.php on line 61
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /XXXXXXXXXXX/wp-content/plugins/slimjetpack/modules/infinite-scroll/infinity.php on line 147
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Sharing_Service_Total has a deprecated constructor in /XXXXXXXX/wp-content/plugins/slimjetpack/modules/sharedaddy/sharing-service.php on line 352
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Sharing_Post_Total has a deprecated constructor in /XXXXXXXX/wp-content/plugins/slimjetpack/modules/sharedaddy/sharing-service.php on line 374
と5箇所もエラーになった。先ずは上から1番目、/wp-content/plugins/slimjetpack/modules/sharedaddy/sharing-service.php on line 352 は
/** private function Jetpack() { */ ←コメントアウト これは220行目だった private function __construct() { ←挿入
上から2番目、/wp-content/plugins/slimjetpack/class.jetpack-user-agent.php on line 61は
/**function Jetpack_User_Agent_Info() ←コメントアウト これは99行目 { */ function __construct() { ←挿入
上から3番目、/wp-content/plugins/slimjetpack/modules/infinite-scroll/infinity.php on line 147は
continue; → continue 2;
break; → //break;
上から4番目と5番目は、/wp-content/plugins/slimjetpack/modules/sharedaddy/sharing-service.php on line 352 と line 374 は
//public function Sharing_Service_Total( $id, $total ) { ← コメントアウト public function __construct( $id, $total ) { ← 挿入
//public function Sharing_Post_Total( $id, $total ) { ← コメントアウト public function __construct( $id, $total ) {← 挿入
Notice: add_submenu_page が誤って呼び出されました。add_submenu_page() に渡される第7引数はメニュー位置を示す整数値である必要があります。 詳しくは WordPress のデバッグをご覧ください。 (このメッセージはバージョン 5.3.0 で追加されました) in /webdata/public/kinryo/wp-includes/functions.php on line 4903
mysql は Ver 14.14 Distrib 5.6.43 ですが、5.5 でも起きるみたいです。https://bugzilla.redhat.com/show_bug.cgi?id=724894 の Here is the patch found on the bacula mantis: に回答がありました。只、私の make_mysql_tables スクリプトは 322行目ではなく、325行目でしたので、@@ -322,12 +322,12 @@ の部分は @@ -325,12 +325,12 @@ になります。その訂正した分のパッチは
※Tripwire設定ファイル(テキスト版)を復元する場合 # twadmin -m f -c /etc/tripwire/tw.cfg > /etc/tripwire/twcfg.txt
# gedit /etc/tripwire/twpolmake.pl
#!/usr/bin/perl # Tripwire Policy File customize tool # ---------------------------------------------------------------- # Copyright (C) 2003 Hiroaki Izumi # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # ---------------------------------------------------------------- # Usage: # perl twpolmake.pl {Pol file} # ---------------------------------------------------------------- # $POLFILE=$ARGV[0]; open(POL,"$POLFILE") or die "open error: $POLFILE" ; my($myhost,$thost) ; my($sharp,$tpath,$cond) ; my($INRULE) = 0 ; while (<POL>) { chomp; if (($thost) = /^HOSTNAME\s*=\s*(.*)\s*;/) { $myhost = `hostname` ; chomp($myhost) ; if ($thost ne $myhost) { $_="HOSTNAME=\"$myhost\";" ; } } elsif ( /^{/ ) { $INRULE=1 ; } elsif ( /^}/ ) { $INRULE=0 ; } elsif ($INRULE == 1 and ($sharp,$tpath,$cond) = /^(\s*\#?\s*)(\/\S+)\b(\s+->\s+.+)$/) { $ret = ($sharp =~ s/\#//g) ; if ($tpath eq '/sbin/e2fsadm' ) { $cond =~ s/;\s+(tune2fs.*)$/; \#$1/ ; } if (! -s $tpath) { $_ = "$sharp#$tpath$cond" if ($ret == 0) ; } else { $_ = "$sharp$tpath$cond" ; } } print "$_\n" ; } close(POL) ;