PHP8 Compatibility count

Created on 1 August 2022, over 2 years ago
Updated 19 January 2023, about 2 years ago

Problem/Motivation

This issue appears with the new version of PHP 8 and the way that handles the count parameters.

The official documentation doesn't highlight the difference between versions:
https://www.php.net/manual/es/function.count.php

More info:
https://runebook.dev/en/docs/php/function.count

Identified points:
- Count in tmgmt_cdt/src/TmgmtCdtTranslatorUi.php line 838

Steps to reproduce

On real mode activated:

  1. Add any item to the cart
  2. Submit the item

Proposed resolution

Add checks before the count.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇪🇸Spain aaron gil martinez Zaragoza

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024