SOY Galleryのエラーについて 投稿する
投稿者:SPS
投稿日時:2022-12-07 11:36:54
お世話になっております。
SOY Galleryから画像をアップロードしようとすると以下のエラーが発生します。
ギャラリーのバージョンは0.7.0p7.9 SOYCMSは3.2.0.23、SOY Shopは2.4.0.65です。
よろしくお願いいたします。
Fatal error: Uncaught TypeError: Argument 3 passed to soy2_resizeimage() must be of the type int, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php on line 87 and defined in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php:9026 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php(87): soy2_resizeimage('/home/users/2/l...', '/home/users/2/l...', NULL, 640) #1 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/List/IndexPage.class.php(28): UploadLogic->uploadFile('79160_33236_736...', '/tmp/phpEvlWe0', 3) #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): IndexPage->doPost() #3 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #4 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Li in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php on line 9026
Warning: Cannot modify header information - headers already sent in /home/users/2/l***/web/***/cms/common/error/admin.php on line 4
致命的なエラーが発生しました
エラーメッセージ
Uncaught TypeError: Argument 3 passed to soy2_resizeimage() must be of the type int, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php on line 87 and defined in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php:9026 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php(87): soy2_resizeimage('/home/users/2/l...', '/home/users/2/l...', NULL, 640) #1 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/List/IndexPage.class.php(28): UploadLogic->uploadFile('79160_33236_736...', '/tmp/phpEvlWe0', 3) #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): IndexPage->doPost() #3 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #4 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Li
DETECT DATE: 2022-12-07T11:29:33+09:00
MESSAGE: Uncaught TypeError: Argument 3 passed to soy2_resizeimage() must be of the type int, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php on line 87 and defined in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php:9026
Stack trace:
#0 /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php(87): soy2_resizeimage('/home/users/2/l...', '/home/users/2/l...', NULL, 640)
#1 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/List/IndexPage.class.php(28): UploadLogic->uploadFile('79160_33236_736...', '/tmp/phpEvlWe0', 3)
#2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): IndexPage->doPost()
#3 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare()
#4 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Li
EXCEPTION TYPE: ErrorException
LOCATION: /cms/common/lib/soy2_build.php (9026)
SOY CMS Version: 3.2.0.23
SOY CMS Build Date: 2022-01-08T13:41:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/users/2/l***/web/***/cms/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE
-----------------------
0:soycms_shutdown
()
Server Environment
PHP Version: 7.4.33
PHP SAPI NAME: cgi-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: No
MEMORY_LIMIT: 128M Bytes
Memory Usage: 2,853,968 Bytes
6,291,456 Bytes (Real)
4,234,616 Bytes (Peak)
6,291,456 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 8M Bytes
UPLOAD_MAX_FILESIZE: 20M 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; rv:107.0) Gecko/20100101 Firefox/107.0
REQUEST_URI: /cms/app/index.php/gallery/List/3
SCRIPT_NAME: /cms/app/index.php
PATH_INFO: /gallery/List/3
QUERY_STRING:
DOCUMENT_ROOT: /home/users/2/lolipop.jp-644531dd78b95a9c/web/hanaya
SCRIPT_FILENAME: /home/users/2/l***/web/***/cms/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: undefined
SOYCMS_SKIP_MOBILE_RESIZE: undefined
SOYCMS_BLOCK_LIST: undefined
SOYCMS_TARGET_DIRECTORY: /home/users/2/l***/web/***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
SOY Galleryから画像をアップロードしようとすると以下のエラーが発生します。
ギャラリーのバージョンは0.7.0p7.9 SOYCMSは3.2.0.23、SOY Shopは2.4.0.65です。
よろしくお願いいたします。
Fatal error: Uncaught TypeError: Argument 3 passed to soy2_resizeimage() must be of the type int, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php on line 87 and defined in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php:9026 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php(87): soy2_resizeimage('/home/users/2/l...', '/home/users/2/l...', NULL, 640) #1 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/List/IndexPage.class.php(28): UploadLogic->uploadFile('79160_33236_736...', '/tmp/phpEvlWe0', 3) #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): IndexPage->doPost() #3 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #4 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Li in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php on line 9026
Warning: Cannot modify header information - headers already sent in /home/users/2/l***/web/***/cms/common/error/admin.php on line 4
致命的なエラーが発生しました
エラーメッセージ
Uncaught TypeError: Argument 3 passed to soy2_resizeimage() must be of the type int, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php on line 87 and defined in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php:9026 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php(87): soy2_resizeimage('/home/users/2/l...', '/home/users/2/l...', NULL, 640) #1 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/List/IndexPage.class.php(28): UploadLogic->uploadFile('79160_33236_736...', '/tmp/phpEvlWe0', 3) #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): IndexPage->doPost() #3 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #4 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Li
DETECT DATE: 2022-12-07T11:29:33+09:00
MESSAGE: Uncaught TypeError: Argument 3 passed to soy2_resizeimage() must be of the type int, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php on line 87 and defined in /home/users/2/l***/web/***/cms/common/lib/soy2_build.php:9026
Stack trace:
#0 /home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php(87): soy2_resizeimage('/home/users/2/l...', '/home/users/2/l...', NULL, 640)
#1 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/List/IndexPage.class.php(28): UploadLogic->uploadFile('79160_33236_736...', '/tmp/phpEvlWe0', 3)
#2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): IndexPage->doPost()
#3 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare()
#4 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Li
EXCEPTION TYPE: ErrorException
LOCATION: /cms/common/lib/soy2_build.php (9026)
SOY CMS Version: 3.2.0.23
SOY CMS Build Date: 2022-01-08T13:41:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/users/2/l***/web/***/cms/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE
-----------------------
0:soycms_shutdown
()
Server Environment
PHP Version: 7.4.33
PHP SAPI NAME: cgi-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: No
MEMORY_LIMIT: 128M Bytes
Memory Usage: 2,853,968 Bytes
6,291,456 Bytes (Real)
4,234,616 Bytes (Peak)
6,291,456 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 8M Bytes
UPLOAD_MAX_FILESIZE: 20M 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; rv:107.0) Gecko/20100101 Firefox/107.0
REQUEST_URI: /cms/app/index.php/gallery/List/3
SCRIPT_NAME: /cms/app/index.php
PATH_INFO: /gallery/List/3
QUERY_STRING:
DOCUMENT_ROOT: /home/users/2/lolipop.jp-644531dd78b95a9c/web/hanaya
SCRIPT_FILENAME: /home/users/2/l***/web/***/cms/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: undefined
SOYCMS_SKIP_MOBILE_RESIZE: undefined
SOYCMS_BLOCK_LIST: undefined
SOYCMS_TARGET_DIRECTORY: /home/users/2/l***/web/***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
投稿者:齋藤毅
投稿日時:2022-12-07 12:13:40
エラーメッセージのご報告をありがとうございます。
ただし、SOY Gallery自体が最近メンテナンスをしていないため、他にも同様のエラーが発生するかもしれません。
上記のファイルの79行目付近の/home/users/2/l***/web/***/cms/app/webapp/gallery/src/logic/UploadLogic.class.php
if($res["mode"] === "width"){
$width = $resize_width;
$height = null;
}else{
$width = null;
$height = $resize_height;
}
の$height = null;や$width = null;の箇所を
if($res["mode"] === "width"){
$width = $resize_width;
$height = -1;
}else{
$width = -1;
$height = $resize_height;
}
のように変更すれば今回のエラーは消えます。
ただし、SOY Gallery自体が最近メンテナンスをしていないため、他にも同様のエラーが発生するかもしれません。
投稿者:SPS
投稿日時:2022-12-08 14:42:33
ありがとうございます。
変更してみましたがエラーに変化は無いようでした。
ニーズの少ない機能かもしれませんので、今回は活用を見送ろうかと思います。
対応ありがとうございました。
変更してみましたがエラーに変化は無いようでした。
ニーズの少ない機能かもしれませんので、今回は活用を見送ろうかと思います。
対応ありがとうございました。
投稿者:齋藤毅
投稿日時:2022-12-08 17:56:00
それは残念です。
只今、SOY GalleryのPHP8対応を進めていまして、来週辺りに配布できるかと思います。
間に合うようであればご活用ください。
只今、SOY GalleryのPHP8対応を進めていまして、来週辺りに配布できるかと思います。
間に合うようであればご活用ください。
投稿者:齋藤毅
投稿日時:2022-12-12 04:33:44
投稿者:SPS
投稿日時:2022-12-14 17:39:54
ありがとうございます。
アップデートしてみましたが以下のエラーとなります。
Fatal error: Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL) #1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost() #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct() #4 /home/users/2/*** in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php on line 7
Warning: Cannot modify header information - headers already sent in /home/users/2/l***/web/***/cms/common/error/admin.php on line 4
致命的なエラーが発生しました
エラーメッセージ
Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL) #1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost() #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct() #4 /home/users/2/***
DETECT DATE: 2022-12-14T17:35:46+09:00
MESSAGE: Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7
Stack trace:
#0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL)
#1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost()
#2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare()
#3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct()
#4 /home/users/2/***
EXCEPTION TYPE: ErrorException
LOCATION: /cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php (7)
SOY CMS Version: 3.2.0.23
SOY CMS Build Date: 2022-01-08T13:41:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/users/2/l***/web/***/cms/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE
-----------------------
0:soycms_shutdown
()
Server Environment
PHP Version: 7.4.33
PHP SAPI NAME: cgi-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: No
MEMORY_LIMIT: 128M Bytes
Memory Usage: 2,822,240 Bytes
6,291,456 Bytes (Real)
4,233,384 Bytes (Peak)
6,291,456 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 8M Bytes
UPLOAD_MAX_FILESIZE: 20M 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; rv:108.0) Gecko/20100101 Firefox/108.0
REQUEST_URI: /cms/app/index.php/gallery/Gallery/Create
SCRIPT_NAME: /cms/app/index.php
PATH_INFO: /gallery/Gallery/Create
QUERY_STRING:
DOCUMENT_ROOT: /home/users/2/***5a9c/web/hanaya
SCRIPT_FILENAME: /home/users/2/l***/web/***/cms/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: undefined
SOYCMS_SKIP_MOBILE_RESIZE: undefined
SOYCMS_BLOCK_LIST: undefined
SOYCMS_TARGET_DIRECTORY: /home/users/2/l***/web/***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
Warning: Cannot modify header information - headers already sent in /home/users/2/l***/web/***/cms/common/error/admin.php on line 4
致命的なエラーが発生しました
エラーメッセージ
Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL) #1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost() #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct() #4 /home/users/2/lolipop.jp-644531dd78b9
DETECT DATE: 2022-12-14T17:35:46+09:00
MESSAGE: Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7
Stack trace:
#0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL)
#1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost()
#2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare()
#3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct()
#4 /home/users/2/lolipop.jp-644531dd78b9
EXCEPTION TYPE: ErrorException
LOCATION: /cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php (7)
SOY CMS Version: 3.2.0.23
SOY CMS Build Date: 2022-01-08T13:41:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/users/2/l***/web/***/cms/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE
-----------------------
0:soycms_shutdown
()
Server Environment
PHP Version: 7.4.33
PHP SAPI NAME: cgi-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: No
MEMORY_LIMIT: 128M Bytes
Memory Usage: 2,822,240 Bytes
6,291,456 Bytes (Real)
4,233,384 Bytes (Peak)
6,291,456 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 8M Bytes
UPLOAD_MAX_FILESIZE: 20M 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; rv:108.0) Gecko/20100101 Firefox/108.0
REQUEST_URI: /cms/app/index.php/gallery/Gallery/Create
SCRIPT_NAME: /cms/app/index.php
PATH_INFO: /gallery/Gallery/Create
QUERY_STRING:
DOCUMENT_ROOT: /home/users/2/lolipop.jp-644531dd78b95a9c/web/hanaya
SCRIPT_FILENAME: /home/users/2/l***/web/***/cms/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: undefined
SOYCMS_SKIP_MOBILE_RESIZE: undefined
SOYCMS_BLOCK_LIST: undefined
SOYCMS_TARGET_DIRECTORY: /home/users/2/l***/web/***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
アップデートしてみましたが以下のエラーとなります。
Fatal error: Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL) #1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost() #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct() #4 /home/users/2/*** in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php on line 7
Warning: Cannot modify header information - headers already sent in /home/users/2/l***/web/***/cms/common/error/admin.php on line 4
致命的なエラーが発生しました
エラーメッセージ
Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL) #1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost() #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct() #4 /home/users/2/***
DETECT DATE: 2022-12-14T17:35:46+09:00
MESSAGE: Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7
Stack trace:
#0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL)
#1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost()
#2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare()
#3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct()
#4 /home/users/2/***
EXCEPTION TYPE: ErrorException
LOCATION: /cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php (7)
SOY CMS Version: 3.2.0.23
SOY CMS Build Date: 2022-01-08T13:41:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/users/2/l***/web/***/cms/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE
-----------------------
0:soycms_shutdown
()
Server Environment
PHP Version: 7.4.33
PHP SAPI NAME: cgi-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: No
MEMORY_LIMIT: 128M Bytes
Memory Usage: 2,822,240 Bytes
6,291,456 Bytes (Real)
4,233,384 Bytes (Peak)
6,291,456 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 8M Bytes
UPLOAD_MAX_FILESIZE: 20M 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; rv:108.0) Gecko/20100101 Firefox/108.0
REQUEST_URI: /cms/app/index.php/gallery/Gallery/Create
SCRIPT_NAME: /cms/app/index.php
PATH_INFO: /gallery/Gallery/Create
QUERY_STRING:
DOCUMENT_ROOT: /home/users/2/***5a9c/web/hanaya
SCRIPT_FILENAME: /home/users/2/l***/web/***/cms/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: undefined
SOYCMS_SKIP_MOBILE_RESIZE: undefined
SOYCMS_BLOCK_LIST: undefined
SOYCMS_TARGET_DIRECTORY: /home/users/2/l***/web/***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
Warning: Cannot modify header information - headers already sent in /home/users/2/l***/web/***/cms/common/error/admin.php on line 4
致命的なエラーが発生しました
エラーメッセージ
Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7 Stack trace: #0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL) #1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost() #2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare() #3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct() #4 /home/users/2/lolipop.jp-644531dd78b9
DETECT DATE: 2022-12-14T17:35:46+09:00
MESSAGE: Uncaught TypeError: Argument 1 passed to SOYGallery_GalleryDAOImpl::insert() must be an instance of SOYGallery_Gallery, null given, called in /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php on line 13 and defined in /home/users/2/l***/web/***/cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php:7
Stack trace:
#0 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(13): SOYGallery_GalleryDAOImpl->insert(NULL)
#1 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8138): CreatePage->doPost()
#2 /home/users/2/l***/web/***/cms/common/lib/soy2_build.php(8125): WebPage->prepare()
#3 /home/users/2/l***/web/***/cms/app/webapp/gallery/pages/Gallery/CreatePage.class.php(28): WebPage->__construct()
#4 /home/users/2/lolipop.jp-644531dd78b9
EXCEPTION TYPE: ErrorException
LOCATION: /cms/app/cache/gallery/3.2.0.23_dao_cache_SOYGallery_GalleryDAOImpl_2760dd7722c4973472055a5e58798680.class.php (7)
SOY CMS Version: 3.2.0.23
SOY CMS Build Date: 2022-01-08T13:41:29+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/users/2/l***/web/***/cms/app/webapp/gallery/src/
SOY2_DOCUMENT_ROOT: undefined
STACK TRACE
-----------------------
0:soycms_shutdown
()
Server Environment
PHP Version: 7.4.33
PHP SAPI NAME: cgi-fcgi
PHP SAFE MODE: No
SHORT_OPEN_TAG: No
MEMORY_LIMIT: 128M Bytes
Memory Usage: 2,822,240 Bytes
6,291,456 Bytes (Real)
4,233,384 Bytes (Peak)
6,291,456 Bytes (Peak, Real)
MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 8M Bytes
UPLOAD_MAX_FILESIZE: 20M 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; rv:108.0) Gecko/20100101 Firefox/108.0
REQUEST_URI: /cms/app/index.php/gallery/Gallery/Create
SCRIPT_NAME: /cms/app/index.php
PATH_INFO: /gallery/Gallery/Create
QUERY_STRING:
DOCUMENT_ROOT: /home/users/2/lolipop.jp-644531dd78b95a9c/web/hanaya
SCRIPT_FILENAME: /home/users/2/l***/web/***/cms/app/index.php
SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: undefined
SOYCMS_SKIP_MOBILE_RESIZE: undefined
SOYCMS_BLOCK_LIST: undefined
SOYCMS_TARGET_DIRECTORY: /home/users/2/l***/web/***/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
投稿者:齋藤毅
投稿日時:2022-12-15 04:40:45
投稿者:SPS
投稿日時:2022-12-16 19:47:28
無事表示されました。
対応に感謝いたします。より便利になったようで凄いです。
ありがとうございました。
対応に感謝いたします。より便利になったようで凄いです。
ありがとうございました。