[memo] WordPress Plugin PS Auto Sitemap バージョン 1.1.8 で Strict Standards: Redefining already defined constructor for class
簡単にサイトマップを自動生成するプラグインで手間を省きたいらしい。
以下の設定だと、表示されない気がするのだが。
lv /etc/php5/cli/php.ini
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
PHP 5.4.23-1+sury.org~precise+1 (cli) (built: Dec 12 2013 09:28:04)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Strict Standards: Redefining already defined constructor for class ps_auto_sitemap in /srv/www/wordpress-default/wp-content/plugins/ps-auto-sitemap/ps_auto_sitemap.php on line 37
取り敢えず、
--- ps_auto_sitemap.php.org 2014-02-27 19:22:05.000000000 +0900
+++ ps_auto_sitemap.php 2014-02-27 23:05:18.000000000 +0900
@@ -8,6 +8,7 @@
Author URI: http://www.warna.info/
*/
+namespace ps_auto_sitemap;
class ps_auto_sitemap {
var $sitemap_prepared_styles = array(
@@ -606,4 +607,4 @@
function esc_url( $url, $protocols = null, $_context = 'display' ) {
return clean_url( $url, $protocols, $context );
}
-}
\ No newline at end of file
+}
でお茶を濁す。
以下の設定だと、表示されない気がするのだが。
lv /etc/php5/cli/php.ini
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
PHP 5.4.23-1+sury.org~precise+1 (cli) (built: Dec 12 2013 09:28:04)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Strict Standards: Redefining already defined constructor for class ps_auto_sitemap in /srv/www/wordpress-default/wp-content/plugins/ps-auto-sitemap/ps_auto_sitemap.php on line 37
取り敢えず、
--- ps_auto_sitemap.php.org 2014-02-27 19:22:05.000000000 +0900
+++ ps_auto_sitemap.php 2014-02-27 23:05:18.000000000 +0900
@@ -8,6 +8,7 @@
Author URI: http://www.warna.info/
*/
+namespace ps_auto_sitemap;
class ps_auto_sitemap {
var $sitemap_prepared_styles = array(
@@ -606,4 +607,4 @@
function esc_url( $url, $protocols = null, $_context = 'display' ) {
return clean_url( $url, $protocols, $context );
}
-}
\ No newline at end of file
+}
でお茶を濁す。
コメント