Hi,
I’ve a site that is failing to upload images via the Media Browser or using the Gallery plugin. I can upload directly on the server to the media folders. This only started happening a few weeks ago.
When uploading via the Media browser the success message appears but the images is not actually uploaded.
When uploading via the Gallery extra I get an error “Please specify a file to upload.”
I wonder if anyone could help decipher some of the error messages i’m getting in the hope they have some bearing on the issue.
I’m running MODX 2.8.3, PHP 7.4.28
[2022-04-04 16:55:15] (ERROR @ /home2/myWebsite/public_html/core/xpdo/om/xpdoobject.class.php : 240) Error HY000 executing statement:
Array
(
[0] => HY000
[1] => 3685
[2] => Illegal argument to a regular expression.
)
[2022-04-04 16:55:15] (ERROR in resource 1 @ /home2/myWebsite/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `[[~40]]` encountered
[2022-04-04 16:57:19] (ERROR @ /home2/myWebsite/public_html/core/model/modx/modx.class.php : 1037) `` is not a valid integer and may not be passed to makeUrl()
[2022-04-04 16:57:32] (ERROR @ /home2/myWebsite/public_html/core/model/modx/modx.class.php : 1037) `` is not a valid integer and may not be passed to makeUrl()
[2022-04-04 16:57:44] (ERROR @ /home2/myWebsite/public_html/core/model/modx/modx.class.php : 1037) `` is not a valid integer and may not be passed to makeUrl()
[2022-04-04 16:59:25] (ERROR @ /home2/myWebsite/public_html/core/model/modx/modx.class.php : 1037) `` is not a valid integer and may not be passed to makeUrl()
[2022-04-04 17:01:53] (ERROR in modProcessor::run @ /home2/myWebsite/public_html/core/model/modx/modprocessor.class.php : 185) Flat file processor support, used for action web/phpthumb with path /home/myWebsite/public_html/core/components/gallery/processors/web/phpthumb.php, is deprecated since version 2.7.0.
[2022-04-04 17:02:08] (ERROR @ /home2/myWebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 165) phpThumb was unable to generate a thumbnail for: /home2/myWebsite/public_html/core/cache/phpthumb/www.starnarrowboatholidays.co.uk__srcd0eee549a67203a6ae87c5c6a8482623_pare23411d0821ae56bf50a1f79d182c074_dat1579194071.png
[2022-04-04 17:02:08] (ERROR @ /home2/myWebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 177) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 647
[2022-04-04 17:02:12] (ERROR @ /home2/myWebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 165) phpThumb was unable to generate a thumbnail for: /home2/myWebsite/public_html/core/cache/phpthumb/www.starnarrowboatholidays.co.uk__srcfd6dc1904559f0ceb2429ce4cb3997d4_pare23411d0821ae56bf50a1f79d182c074_dat1413191923.png
[2022-04-04 17:02:12] (ERROR @ /home2/myWebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 177) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 647
[2022-04-04 17:02:56] (ERROR in xPDO::getService @ /home2/myWebsite/public_html/core/xpdo/xpdo.class.php : 1235) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2022-04-04 17:02:56] (ERROR in modRestCurlClient::__construct @ /home2/myWebsite/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
Thank you for any help