1.コンストラクタ (クラス名と同じ名前のメソッドを定義するもの) が非推奨となったので変更。
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XoopsDatabase has a deprecated constructor in /xoops/class/database/database.php on line 53
/xoops/class/database/database.php
- public function XoopsDatabase()
+ public function __construct()
2.関数 create_functionが非推奨となったので変更
Deprecated: Function create_function() is deprecated in /xoops/modules/legacy/preload/Primary/SessionCallback.class.php on line 18
/xoops/modules/legacy/preload/Primary/SessionCallback.class.php
- ob_start(create_function('', '(session_id() && session_write_close());return false;'));
+ ob_start(function(){(session_id() && session_write_close());return false;});