-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
main.CRITICAL: Exception message: Each getter must have description with @return annotation. See Magento\Tax\Api\Data\TaxDetailsInterface::getSubtotal() #2555
Comments
Output for log when unable to save new customer:
|
OK. Problem solved. My hosting provider moved my site to another server with the newer PHP version. Problem is solved after the move. |
@thomvanderboon Do you know version of PHP you were on compared to now? |
PHP: 5.5.30 -> 5.6.15 |
@thomvanderboon Thanks for the added information. I'm guessing not, but do you have any way to know what the php.ini settings were on the old installation? Specifically I'm wondering if this may have had something to do with the opcode cache being configured to discard code comments: http://php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments |
grin saved the phpinfo() page of both servers for this kind of questions: Old server: '--enable-opcache' |
@thomvanderboon. Thanks for reporting the cause of the problem. This issue is closed. |
If you use Zend Opcache, the following parameters must be configured to 1: |
I had similar issue during customer creation. I found in documentation that opcache.save_comments should be set to 1: |
Symptoms:
Unable to add products to cart: Error: We can't add this item to your shopping cart right now.
Unable to register as new customer on store front: Error: We can't save the customer.
Unable to register new customer at backend: Error (No error displayed, but customer not created)
System:
New magento 2 install, no sample data installed
Output of exeption.log:
The text was updated successfully, but these errors were encountered: