Entity Usage (8x.2.0-beta11) on Drupal 10-07 is not Functioning (At All)

Created on 25 April 2023, almost 2 years ago

Entity Usage (8x.2.0-beta11) on Drupal 10-07 is not Functioning (At All)

Problem/Motivation

Module is Installed on Drupal 10 (Olivero and or bootstrap 5 theme), with PHP 8.1.17. Mysql 8.0.32 cll live.PHP memoery set at 256MB
SERVER condition : Apache/Litespeed (NOT Nginx) on CPANEL shared hosting account, via softaculous (basic/common) install method ( similar to the drupal 10 manual install via ZIP download) . D10 is installed on the the main/root Domain Folder i.e.: "www.mydomain.com/"

the default "admin - config - entity usage setting" is not touched / changed at all (I'm using the default setting)
[After installing the Entity Usage module, I ve cleared cache, and run cron)

Problem 1 : Entity Usage module seems NOT functioning / running at all .
The 'Usage TAB' exist on the Node/ContentEntity "editting-page view" and MediaEntity-Image "editting-page view" , but when we enter the TAB it only shows : " There are no recorded usages for entity of type: media with id: 1" or "There are no recorded usages for entity of type: node with id: 1" .

Problem 2. : when running the admin - config - entity usage setting - "batch update" click "Recreate Entity Usage" button ,
it shows the following errors message

"
Updating entity usage statistics. Add to Default shortcuts
This batch encountered an error.
Please continue to the error page

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /batch?id=3&op=do_nojs&op=do
StatusText: error
ResponseText: The website encountered an unexpected error. Please try again later."

Steps to reproduce

Normla Fresh Install Drupal 10-07 and module via composer method "composer require 'drupal/entity_usage:^2.0@beta'", install module
from Extend menu. Clear cache, Run Cron, go to admin-config-Entity Usage (settings)

Proposed resolution

The function should be running normally as descibed in the project description. I think I might have installed in the past on drupal 9.x (before 9.5/pre-10 update) and it was functioning.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024