Magento 2.3 Reviews error message - We can't post your review right now

If I click "Submit Review" button, I am getting error :

"We can't post your review right now."

Have a any idea? Thank you.enter image description here

Solutions

Seems this SQL error

Missed data form some REVIEW* tables.

Maybe after cleanup test data :)

Solution - setup fresh & clean Magento 2.

Copy SQL export of data for tables review_status & review_entity,

import to DB of Magento with review bug.

But be carefull with SQL query.

Need more detail regarding this. This message is custom not actual. So for debugging purpose can you write a core file and update original error message here?

  1. vendor/magento/module-review/Controller/Product/Post.php

Line 69: add $e->getMessage() which is original exception. Now should looks like:


} catch (\Exception $e) {
    $this->reviewSession->setFormData($data);
    $this->messageManager->addError(__('We can\'t post your review right now.'.$e->getMessage()));
}
  1. Other case is if form validation is wrong. That means Title, Nickname, and Detail should be required field. So added something error message here to.

$this->reviewSession->setFormData($data);
if (is_array($validate)) {
    foreach ($validate as $errorMessage) {
        $this->messageManager->addError($errorMessage);
    }
} else {
    $this->messageManager->addError(__('We can\'t post your review right now. --- TEST'));
}

Note: After you got an actual exception, then please undo your core change with the original code. Core file modification is not good.

Similar questions

Error message "cannot take that action right now" when system upgrade
I installed Magento 2 on Ubuntu 14.04, and tried to examine whether anything I need to update in Magento system. I enter "Web Setup Wizard" from admin panel, but it shows the error message at the first step. "Sorry, we can't take that action right now." I have tried to find the solution in the official document, but nothing is found.
Review Count Added to a Product Tab that Contains Reviews: Breaks the Independent Product Review Page
Any ideas on what could cause the independent product review page to break when the below code is added to the app/design/frontend/YOUR_PACKAGE/YOUR_THEME/template/catalog/product/view.phtml page? I'm running Magento 1.7.0.2. I have successfully used the above code to get the review count number to display in a tab in the product view page. The pro...
Magento 2 : How to get success/error message after review post?
When I submit review form its properly redirect back on same page and review is properly saved in admin but there is no success message. How do I show the success message on that page and where I can set that message ?
change the default text Add Your Review to write review
As per requirement i need to change the default text "Add your review" to "write review". I want to know which file is containing that default text.
Magento 2: getting error for all pages We can't create the Wish List right now
php bin/magento setup:upgrade display error on frontend We can't create the Wish List right now.
We can't save the invoice right now Syntax error or access violation: 1103 Incorrect table name '', query was: INSERT INTO `` () VALUES ()
Unable to generate invoice in admin order view. i saw exception log then found this error anyone have an idea for that

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.