Description of the bug
Attempting to cancel a user account results in a fatal error, caused by a missing profile database table.
The calling function is in the entity_plus module, but I suspect that the ultimate cause is within the profile module, as profile is where this entity is defined, and thus I assume responsible for all database stuff.
Here's the error message:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=311111&op=do_nojs&op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'script-revolution_backdrop.profile' doesn't exist: SELECT `base`.`pid` AS `pid`, `base`.`type` AS `type`, `base`.`uid` AS `uid`, `base`.`label` AS `label`, `base`.`created` AS `created`, `base`.`changed` AS `changed` FROM {profile} `base` WHERE (`base`.`uid` = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 311110 ) in EntityPlusController->query() (line 215 of C:\wamp64\www\_backdrop\sr-backdrop.local\httpdocs\modules\contrib\entity_plus\includes\entity_plus.controller.inc).
Steps To Reproduce
With entity_plus enabled, attempt to delete a user.
Actual behavior
Fatal error, as above. The user remains intact.
Expected behavior
User is deleted without errors.
Additional information
Add any other information that could help, such as:
- Backdrop CMS version: 1.31
- Web server and its version: apache 2.4.54
- PHP version: 8.1+ (tested with 8.1 and 8.3)
- Database sever (MySQL or MariaDB?) and its version: MariaDB Version: 10.11.11
- Operating System and its version: Windows NT 10.0 build 19045 (Windows 10) AMD64
Because the calling function is in a different module, I've not yet had the opportunity to fully investigate and trace the ultimate issue yet.
Description of the bug
Attempting to cancel a user account results in a fatal error, caused by a missing
profiledatabase table.The calling function is in the
entity_plusmodule, but I suspect that the ultimate cause is within the profile module, as profile is where this entity is defined, and thus I assume responsible for all database stuff.Here's the error message:
Steps To Reproduce
With entity_plus enabled, attempt to delete a user.
Actual behavior
Fatal error, as above. The user remains intact.
Expected behavior
User is deleted without errors.
Additional information
Add any other information that could help, such as:
Because the calling function is in a different module, I've not yet had the opportunity to fully investigate and trace the ultimate issue yet.