SOY Galleryをバージョンアップ時のエラーについて
投稿者:オフィスニコ
投稿日時:2026-10-18 21:02:15
お世話になっております。
表題の通り、SOY Galleryをバージョンアップしましたところ、下記のエラ―が発生いたしました。
Stack trace:
#0 /***/app/webapp/gallery/pages/_common/NewImageListComponent.class.php(17): soygallery_sanitize_html(NULL)
#1 /***/common/lib/soy2_build.min.php(5743): NewImageListComponent->populateItem(Object(SOYGallery_ImageView), 0, 1, 7)
#2 /***/common/lib/soy2_build.min.php(5721): HTMLList->populateItemImpl(Object(SOYGallery_ImageView), 0, 1, 7)
#3 /***/common/lib/soy2_build.min.php(4677): HTMLList->execute()
#4 /***/common/lib/soy2_build.min.php(4695): HTMLPage->add('image_list', Object(NewImageListComponent))
#5 /***/app/webapp/gallery/pages/IndexPage.class.php(28): HTMLPage->createAdd('image_list', '_common.NewImag...', Array)
#6 /***/common/lib/soy2_build.min.php(4010): IndexPage->__construct(Array)
#7 /***/app/webapp/gallery/admin.php(100): SOY2HTMLFactory::createInstance('IndexPage', Array)
#8 /***/app/base/CMSApplication.class.php(436): SOYGalleryApplication->main()
#9 /***/app/index.php(9): CMSApplication::run()
#10 {main}
thrown in /***/app/webapp/gallery/src/func/common.php on line 142
--------------------------------------------------
【レポート部分】
DETECT DATE: 2026-10-18T20:53:35+09:00
MESSAGE: Uncaught TypeError: soygallery_sanitize_html(): Argument #1 ($html) must be of type string, null given, called in /***/app/webapp/gallery/pages/_common/NewImageListComponent.class.php on line 17 and defined in /***/app/webapp/gallery/src/func/common.php:142
Stack trace:
#0 /***/app/webapp/gallery/pages/_common/NewImageListComponent.class.php(17): soygallery_sanitize_html(NULL)
#1 /***/common/lib/soy2_build.min.php(5743): NewImageListComponent->populateItem(Object(SOYGallery_ImageView), 0, 1, 7)
#2 /***/common/lib/soy2_build.min.php(5721): HTMLList->populateItemImpl(Object(SOYGallery_ImageView), 0, 1, 7)
#3 /***/common/lib/soy2_build.min.php(4677): HTMLList->execute()
#4 /***/common/lib/soy2_build.min.php(4695): HTMLPage->add('image_list', Object(NewImageListComponent))
#5 /***/app/webapp/gallery/pages/IndexPage.class.php(28): HTMLPage->createAdd('image_list', '_common.NewImag...', Array)
#6 /***/common/lib/soy2_build.min.php(4010): IndexPage->__construct(Array)
#7 /***/app/webapp/gallery/admin.php(100): SOY2HTMLFactory::createInstance('IndexPage', Array)
#8 /***/app/base/CMSApplication.class.php(436): SOYGalleryApplication->main()
#9 /***/app/index.php(9): CMSApplication::run()
#10 {main} thrown
EXCEPTION TYPE: ErrorException
LOCATION: /***/app/webapp/gallery/src/func/common.php (142)
SOY CMS Version: 3.25.7
SOY CMS Build Date: 2026-10-09T09:33:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /***/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE -----------------------
0:soycms_shutdown ()
Server Environment
PHP Version: 8.3.33
PHP SAPI NAME: fpm-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: Yes
MEMORY_LIMIT: 1G Bytes
Memory Usage: 590,832 Bytes 2,097,152 Bytes (Real) 621,560 Bytes (Peak) 2,097,152 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 180 sec.
POST_MAX_SIZE: 1G Bytes
UPLOAD_MAX_FILESIZE: 1G Bytes
mb_string: Yes
PDO: Yes
PDO_SQLite: Yes
PDO_MySQL: Yes
Standard PHP Library: Yes
SimpleXML: Yes
JSON: Yes
Services_JSON: No
ZIP: Yes
ZipArchive: Yes
Archive_Zip: No
OpenSSL: Yes
HASH: Yes
GD: Yes
Module/CGI CGI Rewrite Unknown
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36
REQUEST_URI: /***/app/index.php/gallery?login
SCRIPT_NAME: /***/app/index.php
PATH_INFO: /gallery
QUERY_STRING: login
DOCUMENT_ROOT: /***
SCRIPT_FILENAME: /***/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT:
SOYCMS_SKIP_MOBILE_RESIZE: 1
SOYCMS_BLOCK_LIST: EntryBlockComponent LabeledBlockComponent MultiLabelBlockComponent SiteLabeledBlockComponent PluginBlockComponent
SOYCMS_TARGET_DIRECTORY: /***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
表題の通り、SOY Galleryをバージョンアップしましたところ、下記のエラ―が発生いたしました。
Stack trace:
#0 /***/app/webapp/gallery/pages/_common/NewImageListComponent.class.php(17): soygallery_sanitize_html(NULL)
#1 /***/common/lib/soy2_build.min.php(5743): NewImageListComponent->populateItem(Object(SOYGallery_ImageView), 0, 1, 7)
#2 /***/common/lib/soy2_build.min.php(5721): HTMLList->populateItemImpl(Object(SOYGallery_ImageView), 0, 1, 7)
#3 /***/common/lib/soy2_build.min.php(4677): HTMLList->execute()
#4 /***/common/lib/soy2_build.min.php(4695): HTMLPage->add('image_list', Object(NewImageListComponent))
#5 /***/app/webapp/gallery/pages/IndexPage.class.php(28): HTMLPage->createAdd('image_list', '_common.NewImag...', Array)
#6 /***/common/lib/soy2_build.min.php(4010): IndexPage->__construct(Array)
#7 /***/app/webapp/gallery/admin.php(100): SOY2HTMLFactory::createInstance('IndexPage', Array)
#8 /***/app/base/CMSApplication.class.php(436): SOYGalleryApplication->main()
#9 /***/app/index.php(9): CMSApplication::run()
#10 {main}
thrown in /***/app/webapp/gallery/src/func/common.php on line 142
--------------------------------------------------
【レポート部分】
DETECT DATE: 2026-10-18T20:53:35+09:00
MESSAGE: Uncaught TypeError: soygallery_sanitize_html(): Argument #1 ($html) must be of type string, null given, called in /***/app/webapp/gallery/pages/_common/NewImageListComponent.class.php on line 17 and defined in /***/app/webapp/gallery/src/func/common.php:142
Stack trace:
#0 /***/app/webapp/gallery/pages/_common/NewImageListComponent.class.php(17): soygallery_sanitize_html(NULL)
#1 /***/common/lib/soy2_build.min.php(5743): NewImageListComponent->populateItem(Object(SOYGallery_ImageView), 0, 1, 7)
#2 /***/common/lib/soy2_build.min.php(5721): HTMLList->populateItemImpl(Object(SOYGallery_ImageView), 0, 1, 7)
#3 /***/common/lib/soy2_build.min.php(4677): HTMLList->execute()
#4 /***/common/lib/soy2_build.min.php(4695): HTMLPage->add('image_list', Object(NewImageListComponent))
#5 /***/app/webapp/gallery/pages/IndexPage.class.php(28): HTMLPage->createAdd('image_list', '_common.NewImag...', Array)
#6 /***/common/lib/soy2_build.min.php(4010): IndexPage->__construct(Array)
#7 /***/app/webapp/gallery/admin.php(100): SOY2HTMLFactory::createInstance('IndexPage', Array)
#8 /***/app/base/CMSApplication.class.php(436): SOYGalleryApplication->main()
#9 /***/app/index.php(9): CMSApplication::run()
#10 {main} thrown
EXCEPTION TYPE: ErrorException
LOCATION: /***/app/webapp/gallery/src/func/common.php (142)
SOY CMS Version: 3.25.7
SOY CMS Build Date: 2026-10-09T09:33:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /***/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE -----------------------
0:soycms_shutdown ()
Server Environment
PHP Version: 8.3.33
PHP SAPI NAME: fpm-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: Yes
MEMORY_LIMIT: 1G Bytes
Memory Usage: 590,832 Bytes 2,097,152 Bytes (Real) 621,560 Bytes (Peak) 2,097,152 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 180 sec.
POST_MAX_SIZE: 1G Bytes
UPLOAD_MAX_FILESIZE: 1G Bytes
mb_string: Yes
PDO: Yes
PDO_SQLite: Yes
PDO_MySQL: Yes
Standard PHP Library: Yes
SimpleXML: Yes
JSON: Yes
Services_JSON: No
ZIP: Yes
ZipArchive: Yes
Archive_Zip: No
OpenSSL: Yes
HASH: Yes
GD: Yes
Module/CGI CGI Rewrite Unknown
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36
REQUEST_URI: /***/app/index.php/gallery?login
SCRIPT_NAME: /***/app/index.php
PATH_INFO: /gallery
QUERY_STRING: login
DOCUMENT_ROOT: /***
SCRIPT_FILENAME: /***/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT:
SOYCMS_SKIP_MOBILE_RESIZE: 1
SOYCMS_BLOCK_LIST: EntryBlockComponent LabeledBlockComponent MultiLabelBlockComponent SiteLabeledBlockComponent PluginBlockComponent
SOYCMS_TARGET_DIRECTORY: /***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
投稿者:齋藤毅
投稿日時:2026-10-19 09:28:59
ご連絡をありがとうございます。
お伝えいただきましたエラーを修正したバージョンを下記URLからダウンロードできるようにしました。
https://saitodev.co/soycms/soygallery/
お伝えいただきましたエラーを修正したバージョンを下記URLからダウンロードできるようにしました。
https://saitodev.co/soycms/soygallery/