-2

1 . Deprecated: google-api-php-client's autoloader was moved to vendor/autoload.php in 2.0.0. This redirect will be removed in 2.1. Please adjust your code to use the new location. in D:\wamp\www\api\Calendar_api\src\Google\autoload.php on line 19 2 . Fatal error: Class 'Google_Service_Calendar' not found in D:\wamp\www\api\quickstart.php on line 12

DaImTo
  • 88,623
  • 26
  • 153
  • 389
Ajit
  • 1
  • 1
    Possible duplicate of [google-api-php-client's autoloader deprecated](http://stackoverflow.com/questions/29438895/google-api-php-clients-autoloader-deprecated) – DaImTo May 27 '16 at 12:15
  • Welcome to stack please read http://stackoverflow.com/help/how-to-ask and please at least try to google your error message in the future. – DaImTo May 27 '16 at 12:16

1 Answers1

0

I changed require path to this it worked for me.
require_once '../src/Google/autoload.php';