Im using Magento 2 with Vagrant and I made a custom theme. Everything works fine except When I add a product to cart and go to Shipping (1st step in checkout) the page loads but when Shipping method tries to load I get error:
POST http://shop.local/rest/default/V1/guest-carts/ea67f279a751134f7cc2082409178ac7/estimate-shipping-methods 500 (Internal Server Error)
And in response I get:
"message": "Each getter must have description with @return annotation. See Magento\\Quote\\Api\\Data\\AddressInterface::getStreet()",
"trace": "
#0 /var/www/shop/vendor/magento/framework/Webapi/ServiceInputProcessor.php(161): Magento\\Framework\\Reflection\\TypeProcessor->getGetterReturnType(Object(Zend\\Code\\Reflection\\MethodReflection))\n
#1 /var/www/shop/vendor/magento/framework/Webapi/ServiceInputProcessor.php(322): Magento\\Framework\\Webapi\\ServiceInputProcessor->_createFromArray('Magento\\\\Quote\\\\A...', Array)\n
#2 /var/www/shop/vendor/magento/framework/Webapi/ServiceInputProcessor.php(119): Magento\\Framework\\Webapi\\ServiceInputProcessor->convertValue(Array, 'Magento\\\\Quote\\\\A...')\n
#3 /var/www/shop/vendor/magento/module-webapi/Controller/Rest/InputParamsResolver.php(101): Magento\\Framework\\Webapi\\ServiceInputProcessor->process('Magento\\\\Quote\\\\A...', 'estimateByExten...', Array)\n
#4 /var/www/shop/vendor/magento/module-webapi/Controller/Rest.php(299): Magento\\Webapi\\Controller\\Rest\\InputParamsResolver->resolve()\n
#5 /var/www/shop/vendor/magento/module-webapi/Controller/Rest.php(216): Magento\\Webapi\\Controller\\Rest->processApiRequest()\n
#6 /var/www/shop/var/generation/Magento/Webapi/Controller/Rest/Interceptor.php(24): Magento\\Webapi\\Controller\\Rest->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n
#7 /var/www/shop/vendor/magento/framework/App/Http.php(135): Magento\\Webapi\\Controller\\Rest\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n
#8 /var/www/shop/vendor/magento/framework/App/Bootstrap.php(258): Magento\\Framework\\App\\Http->launch()\n
#9 /var/www/shop/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http))\n
#10 {main}"
NOTE: Sometimes it is AddressInterface::getRegionId()
I went to check the annotations and they are there. I tried to google this problem and found out that Zend Opcache can cause this problem but I already had it disabled. I have PHP version 7.0.6
I also tried to remove Shipping methods same thing (using only Free shipping, rest are disabled).
What else could it be? What am I missing?