Modify

Opened 3 years ago

Closed 3 years ago

#2319 closed Bug/Fehler (fixed)

count(): Parameter must be an array in dsgvo_action.php

Reported by: web-looks.de Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.8.0
Component: Shop Version: 2.0.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

count(): Parameter must be an array or an object that implements Countable in File: /includes/external/dsgvo/modules/dsgvo_action.php on Line: 38

Vorschlag zur Korrektur:

includes/external/dsgvo/modules/dsgvo_action.php

Suchen nach:

if (count($_SESSION['dsgvo']) < 1) {

Ersetzen mit:

if (empty($_SESSION['dsgvo']) || !is_array($_SESSION['dsgvo'])) {

Suchen nach:

if (count($_SESSION['dsgvo']) > 0) {

Ersetzen mit:

if (!empty($_SESSION['dsgvo'])) {

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 3 years ago

Resolution: fixed
Status: newclosed

In 14780:

fix #2319 - fix warning

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.