• Resolved brianmaninger

    (@brianmaninger)


    I am having an issue after updating the plugin. The Console shows an error of:

    [2025-02-01 19:32:30] INFO [Modules\Validator\ValidatorAbstract:43] The form signature could not be verified.

    Can anyone help me understand what components or templates that may be involved. I have been reading documentation and not getting much from the new validator.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    The form signature validator was introduced in one of the last updates. It was in response to a reported potential “vulnerability” and prevents someone from modifying the form values of hidden input fields (for example, to prevent a guest user from changing the post the review is assigned to).

    Are you using one of the Site Reviews hooks to modify the review values before the review is saved?

    Thread Starter brianmaninger

    (@brianmaninger)

    I was not able to identify anything using the hooks.
    I found this in the console:

    [2025-02-03 22:26:26] ERROR [Modules\Validator\ValidateForm:109] Validator not found [GeminiLabs\SiteReviews\Modules\Validator\FriendlycaptchaValidator]
    [2025-02-03 22:26:26] INFO [Modules\Validator\ValidatorAbstract:43] The form signature could not be verified.

    and still getting this message on the frontend:
    “This review cannot be submitted, please refresh the page and try again.”

    I did copy the site to localhost and it works flawlessly. Console shows the below:

    [2025-02-03 00:16:15] DEBUG [C:\xampp\htdocs\wp-content\plugins\site-reviews\plugin\Integrations\Cache\Controller.php:114] cache::flushing [31551]
    [2025-02-03 22:35:09] DEBUG [C:\xampp\htdocs\wp-content\plugins\site-reviews\plugin\Integrations\Cache\Controller.php:114] cache::flushing [31551]
    [2025-02-03 22:45:58] DEBUG [C:\xampp\htdocs\wp-content\plugins\site-reviews\plugin\Integrations\Cache\Controller.php:114] cache::flushing [31551]

    I’m not even using “FriendlyCaptcha” we are using google. Very confusing. Localhost google fails to load the captcha, possibly a connection? is there any documentation on how it validates or should I resort to reading the code?

    Plugin Contributor Paul

    (@pryley)

    I’m not even using “FriendlyCaptcha” we are using google. Very confusing. Localhost google fails to load the captcha, possibly a connection? is there any documentation on how it validates or should I resort to reading the code?

    You can ignore that error, it has nothing to do with the form signature. It just means that the FriendlyCaptcha validator class was not found (because of a case-sensitive filename bug which will be fixed in the next update).

    and still getting this message on the frontend:
    “This review cannot be submitted, please refresh the page and try again.”

    As explained in the “Common Problems and Solutions” section on the Help & Support page in Site Reviews, that error is only shown when the hidden input values in the Form have been modified.

    Something on your website is modifying the hidden input fields in the review form. This is preventing Site Reviews from allowing the review form to submit.

    • Does the problem happen when you are both (a) logged in and (b) logged out?
    • Are you using any code snippet to modify the review values or the request values before a review is saved?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Form signature not validating’ is closed to new replies.