Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Class LookupRequest not found #8

Open
sirko-uhl opened this issue Jun 14, 2019 · 1 comment
Open

Class LookupRequest not found #8

sirko-uhl opened this issue Jun 14, 2019 · 1 comment

Comments

@sirko-uhl
Copy link

sirko-uhl commented Jun 14, 2019

GAE standard php72
I'm getting this error and found no Solution :-( Have you any Ideas?

Error: Class 'google\appengine\datastore\v4\LookupRequest' not found
at GDS\Gateway\ProtoBuf->fetchByKeyPart (/srv/vendor/tomwalder/php-gds/src/GDS/Gateway/ProtoBuf.php:179)
at GDS\Gateway->fetchByNames (/srv/vendor/tomwalder/php-gds/src/GDS/Gateway.php:194)
at GDS\Gateway->fetchByName (/srv/vendor/tomwalder/php-gds/src/GDS/Gateway.php:122)
at GDS\Store->fetchByName (/srv/vendor/tomwalder/php-gds/src/GDS/Store.php:184)
at GDS\Session\Handler->read (/srv/vendor/tomwalder/php-gds-session/src/GDS/Session/Handler.php:176)
at session_start ([internal function])
at GDS\Session\Handler::start (/srv/vendor/tomwalder/php-gds-session/src/GDS/Session/Handler.php:105)
at {main} (/srv/bootstrap.php:12)

composer.json

"require": {
    "php": ">=5.3.0",
    "google/cloud-logging": "^1.16",
    "google/cloud-error-reporting": "^0.14.4",
    "google/cloud-storage": "^1.12",
    "google/cloud-datastore": "^1.9",
    "monolog/monolog": "^1.24",
    "league/flysystem-sftp": "^1.0",
    "aws/aws-sdk-php": "^3.94",
    "vlucas/phpdotenv": "^3.3",
    "php-http/guzzle6-adapter": "^1.1",
    "bugsnag/bugsnag": "^3.16",
    "mailgun/mailgun-php": "~2.0",
    "paragonie/random_compat": "<9.99",
    "tomwalder/php-gds-session": "v1.0.0",
    "google/apiclient": "^2.2"
  }
@barbax
Copy link

barbax commented Jul 3, 2019

I guess this library is intended to be used with php55 where you already have included some custom php library (i.e. google\appengine\ ... ). In Php72 you can no longer access to those lybraries and you are intended to use the php Client Library that have a different namespace (google/cloud). I think must be added the support to the php Client Library in order to be used on php72 standard, and actually any container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants