View Issue Details

IDProjectCategoryView StatusLast Update
0000719XMB1Bugspublic2024-12-07 17:14
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionfixed 
Product Version1.9.10 
Target Version1.9.12.07Fixed in Version1.9.12.07 
Summary0000719: Passing E_USER_ERROR to trigger_error() is now deprecated.
DescriptionThe E_USER_ERROR constant has been used in several parts of XMB and is now expected to cause debug messages with PHP 8.4.
Steps To ReproduceRequires PHP 8.4 and a forced error. Example output:

[06-Dec-2024 14:33:12 America/Detroit] PHP Deprecated: Passing E_USER_ERROR to trigger_error() is deprecated since 8.4, throw an exception or call exit with a string message instead in include/sql.inc.php on line 208
[06-Dec-2024 14:33:12 America/Detroit] PHP Fatal error: Missing value username for \XMB\SQL\addMember() in include/sql.inc.php on line 208
Additional InformationThis deprecation is formally documented and that means the E_USER_ERROR constant could be eliminated in future versions of PHP.

https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_e_user_error_to_trigger_error

https://www.php.net/trigger_error

https://www.php.net/manual/en/errorfunc.constants.php#constant.e-user-error
TagsNo tags attached.
MySQL Version
PHP Version8.4
Web Server
Browser
Flags
Original Reporter
SVN Revision3067
Git Commit

Relationships

child of 0000717 closedmiqrogroove PHP 8.4 Compatibility 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-10-31 11:15 miqrogroove New Issue
2024-10-31 11:15 miqrogroove Relationship added child of 0000717
2024-10-31 11:16 miqrogroove Status new => acknowledged
2024-12-06 11:36 miqrogroove Reproducibility have not tried => random
2024-12-06 11:36 miqrogroove Status acknowledged => assigned
2024-12-06 11:36 miqrogroove Steps to Reproduce Updated
2024-12-06 11:36 miqrogroove Additional Information Updated
2024-12-07 06:16 miqrogroove Assigned To => miqrogroove
2024-12-07 07:35 miqrogroove Status assigned => resolved
2024-12-07 07:35 miqrogroove Resolution open => fixed
2024-12-07 07:35 miqrogroove Fixed in Version => 1.9.12.07
2024-12-07 07:35 miqrogroove SVN Revision => 3067
2024-12-07 17:14 miqrogroove Status resolved => closed