Closed zacharybrady closed 5 years ago
Can you paste the whole stack trace? It should be in your log files (storage/logs
).
Seems like this was happening for a couple of days before I realized. This was the first instance but looks exactly like the rest. Occurred after a Craft update it seems.
2018-09-17 13:09:46 [165.117.253.218][342][-][error][craft\controllers\AssetsController::actionSaveAsset] An error occurred when saving an asset: Call to undefined method Google\Cloud\Storage\ObjectPageIterator::get() 2018-09-17 13:09:46 [165.117.253.218][342][-][error][Error] Error: Call to undefined method Google\Cloud\Storage\ObjectPageIterator::get() in {Redacted Path}/vendor/google/cloud-storage/ObjectPageIterator.php:61 Stack trace:
2018-09-17 13:09:45 [165.117.253.218][342][-][info][application] $_GET = [ 'p' => 'admin/actions/assets/save-asset' ]
After upgrading to Craft 3.0.25 the issue seems to be resolved.
Yeah, it seemed like some composer dependencies had gotten corrupt or gone missing. Updating Craft to the latest version also ran composer update
on your install, fixing that. Glad you're up and running!
When trying to upload a file I keep getting this issue. Issue appeared randomly. Using version 1.1 .
Happens with many different files of different sizes.