modxcms/revolution

Installing extras generates "filesize()" error messages

SnowCreative opened this issue · 1 comments

Bug report

Summary

Installing extras in a new 3.0.4 site generates the following type of error message :

[2023-12-14 15:20:26] (ERROR @ /www/core/src/Revolution/Transport/modTransportPackage.php : 433) PHP warning: filesize(): stat failed for https://modx.s3.amazonaws.com/extras/475/ultimateparent-2.0-pl.transport.zip?revolution_version=Revolution-3.0.4-pl
[2023-12-14 15:20:26] (ERROR @ /www/core/src/Revolution/Transport/modTransportPackage.php : 756) PHP warning: A non-numeric value encountered

amazonaws is the most frequent URL in these messages, but some extras generate errors with a different one, for example "modx-sentinel-prod.nyc3.digitaloceanspaces.com". The errors get logged after downloading an extra, prior to installing it.

Step to reproduce

Install an extra in 3.0.4, then check the error log

Environment

MODX 3.0.4, MODX Cloud hosting

This issue has been mentioned on MODX Community. There might be relevant details there:

https://community.modx.com/t/weird-error-messages-in-new-3-0-4-installation-when-adding-extras/7328/7