lars1243
Chevereto Member
Currently, I have disabled Google Cloud Storage and switched to using S3 compatible storage on Cloudflare R2, which is working without any issues.
The error:
Storage setting:

The functionality was working normally before the update. However, we encountered a syntax error in:/var/www/html/app/vendor/google/apiclient/src/Http/REST.php
with the line [get_class(), 'doExecute']
It should be:
The error:
Code:
DomainException thrown in /var/www/html/app/vendor/google/apiclient/src/Client.php:285
# Message
set the JSON service account credentials using Google\Client::setAuthConfig or set the path to your JSON file with the "GOOGLE_APPLICATION_CREDENTIALS" environment variable and call Google\Client::useApplicationDefaultCredentials to refresh a token with assertion.
# Time
2024-11-04T13:39:25+00:00 [1730727565]
# Incident 6728ce8d5888b
# Backtrace
------------------------------------------------------------
0 /var/www/html/app/vendor/google/apiclient/src/Client.php:285
{main}()
------------------------------------------------------------
1 /var/www/html/app/src/Legacy/Classes/Storage.php:665
Google\Client->fetchAccessTokenWithAssertion()
------------------------------------------------------------
2 /var/www/html/app/src/Legacy/Classes/Storage.php:126
Chevereto\Legacy\Classes\Storage::requireAPI()
------------------------------------------------------------
3 /var/www/html/app/src/Legacy/Classes/Storage.php:432
Chevereto\Legacy\Classes\Storage::uploadFiles()
------------------------------------------------------------
4 /var/www/html/app/src/Legacy/Classes/Storage.php:553
Chevereto\Legacy\Classes\Storage::test()
------------------------------------------------------------
5 /var/www/html/app/legacy/routes/json.php:776
Chevereto\Legacy\Classes\Storage::update()
------------------------------------------------------------
6 /var/www/html/app/src/Legacy/G/Handler.php:455
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
7 /var/www/html/app/src/Legacy/G/Handler.php:179
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
8 /var/www/html/app/legacy/load/web.php:662
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
9 /var/www/html/app/legacy/entrypoints/index.php:43
require_once(string(length=37))
------------------------------------------------------------
10 /var/www/html/index.php:12
require_once(string(length=46))
------------------------------------------------------------
Storage setting:

The functionality was working normally before the update. However, we encountered a syntax error in:/var/www/html/app/vendor/google/apiclient/src/Http/REST.php
with the line [get_class(), 'doExecute']
It should be:
PHP:
[self::class, 'doExecute']
PHP:
$runner = new Runner(
$config,
sprintf('%s %s', $request->getMethod(), (string) $request->getUri()),
[get_class(), 'doExecute'], <--------------- This line
[$client, $request, $expectedClass]
);"
Code:
# Message [Code #8192]
Calling get_class() without arguments is deprecated
# Incident ID:6715fa320ca1e
# Time
2024-10-21T06:52:34+00:00 [1729493554]
# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/vendor/google/apiclient/src/Http/REST.php:58
{main}()
------------------------------------------------------------
#1 /var/www/html/app/vendor/google/apiclient/src/Http/REST.php:58
get_class()
------------------------------------------------------------
#2 /var/www/html/app/vendor/google/apiclient/src/Client.php:917
Google\Http\REST::execute()
------------------------------------------------------------
#3 /var/www/html/app/vendor/google/apiclient/src/Service/Resource.php:238
Google\Client->execute()
------------------------------------------------------------
#4 /var/www/html/app/vendor/google/apiclient-services/src/Storage/Resource/Objects.php:296
Google\Service\Resource->call()
------------------------------------------------------------
#5 /var/www/html/app/src/Legacy/Classes/Storage.php:197
Google\Service\Storage\Resource\Objects->insert()
------------------------------------------------------------
#6 /var/www/html/app/src/Legacy/Classes/Storage.php:393
Chevereto\Legacy\Classes\Storage::uploadFiles()
------------------------------------------------------------
#7 /var/www/html/app/src/Legacy/Classes/Storage.php:454
Chevereto\Legacy\Classes\Storage::test()
------------------------------------------------------------
#8 /var/www/html/app/legacy/routes/json.php:787
Chevereto\Legacy\Classes\Storage::insert()
------------------------------------------------------------
#9 /var/www/html/app/src/Legacy/G/Handler.php:255
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#10 /var/www/html/app/src/Legacy/G/Handler.php:171
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#11 /var/www/html/app/legacy/load/web.php:515
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#12 /var/www/html/app/legacy/entrypoints/index.php:35
require_once(string(length=37))
------------------------------------------------------------