10BC0 Update object.class.php by Alexandremjp · Pull Request #384 · TestLinkOpenSourceTRMS/testlink-code · GitHub
[go: up one dir, main page]

Skip to content

Update object.class.php#384

Merged
fmancardi merged 1 commit intoTestLinkOpenSourceTRMS:testlink_1_9_20_fixedfrom
Alexandremjp:patch-4
May 2, 2025
Merged

Update object.class.php#384
fmancardi merged 1 commit intoTestLinkOpenSourceTRMS:testlink_1_9_20_fixedfrom
Alexandremjp:patch-4

Conversation

@Alexandremjp
Copy link
Contributor

We need an explicit cast to array in the sizeOf for PHP8 to avoid error :

PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/testlink-code-testlink_1_9_20_fixed/lib/functions/object.class.php:600

We need an explicit cast to array in the sizeOf for PHP8 to avoid error : 

PHP Fatal error:  Uncaught TypeError: sizeof(): Argument TestLinkOpenSourceTRMS#1 ($value) must be of type Countable|array, null given in /var/www/html/testlink-code-testlink_1_9_20_fixed/lib/functions/object.class.php:600
@fmancardi fmancardi merged commit 28810a5 into TestLinkOpenSourceTRMS:testlink_1_9_20_fixed May 2, 2025
1 of 5 checks passed
@fmancardi
Copy link
Contributor

Thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0