Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installing extras generates "filesize()" error messages #16504

Open
SnowCreative opened this issue Dec 14, 2023 · 1 comment
Open

Installing extras generates "filesize()" error messages #16504

SnowCreative opened this issue Dec 14, 2023 · 1 comment
Labels
bug The issue in the code or project, which should be addressed.

Comments

@SnowCreative
Copy link
Contributor

SnowCreative commented Dec 14, 2023

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

@SnowCreative SnowCreative added the bug The issue in the code or project, which should be addressed. label Dec 14, 2023
@modxcommunity
Copy link
Collaborator

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug The issue in the code or project, which should be addressed.
Projects
None yet
Development

No branches or pull requests

2 participants