Like dislike is not working

Created on 30 May 2022, over 2 years ago
Updated 25 July 2023, over 1 year ago

Drupal version - 9.3.7
like_dislike version - 2.1.0

Installed using below command-
composer require 'drupal/like_dislike:^2.1'

Added field to the blog content type but on the node view page getting below error in browser console-

Uncaught TypeError: Cannot read properties of undefined (reading '/projects/drupal8/web/like-dislike/like/eyJlbnRpdHlfdHlwZSI6Im5vZGUiLCJlbnRpdHlfaWQiOiI2IiwiZmllbGRfbmFtZSI6ImZpZWxkX2xpa2UiLCJsaWtlcyI6IjEifQ%3D%3D?token=rpEW-hy6WdJBH-7RprJ6G0Wg9DPOLSf5zNYp9LoSPTA?like-dislike-redirect=LOCAL_NODE_URL')

Due to this error, when clicked on the Like button it redirects user to the above page with the message - You are not authorized to access this page.

Any help would appreciated. Thanks in advance.

Feature request
Status

Closed: duplicate

Version

2.1

Component

Code

Created by

🇮🇳India monalipatil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024