- Status changed to RTBC
over 1 year ago 2:43pm 28 April 2023 - πΊπΈUnited States mikohl
Patch #2 fixed the issue for me. Thanks!!
Updating to RTBC.
I'm testing an upgrade from PHP 7.4 to PHP 8.0 with Drupal 7.91 and Protected Pages 7.x-2.4 and I'm getting a PHP error. It doesn't allow me to create new protected pages. The existing ones created on PHP 7.4 still works though.
Drupal watchdog message:
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 144 of .../docroot/sites/all/modules/protected_pages/protected_pages.admin.inc).
Try creating a new protected page.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Patch #2 fixed the issue for me. Thanks!!
Updating to RTBC.