Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError: count() after PHP 8.10 upgrade #526

Open
Kennard opened this issue Jun 6, 2022 · 0 comments
Open

TypeError: count() after PHP 8.10 upgrade #526

Kennard opened this issue Jun 6, 2022 · 0 comments

Comments

@Kennard
Copy link

Kennard commented Jun 6, 2022

Hello,

I ran into this error upgrading from php version 7.4 to 8.0.13 on Drupal 9.3.

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in TCPDF->closeHTMLTagHandler() (line 19706 of tcpdf.php

	// for each row
		if (count($table_el['trids']) > 0) {
			unset($xmax);
	  }
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant