Deprecated function: str_pad(): Passing null to parameter #1

Created on 21 November 2024, about 1 month ago

Problem/Motivation

Deprecated function: str_pad(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\visitors\Service\SequenceService::integer() (line 217 of C:\inetpub\wwwroot\web\modules\contrib\visitors\src\Service\SequenceService.php)
#0 C:\inetpub\wwwroot\web\core\includes\bootstrap.inc(166): _drupal_error_handler_real()
#1 [internal function]: _drupal_error_handler()
#2 C:\inetpub\wwwroot\web\modules\contrib\visitors\src\Service\SequenceService.php(217): str_pad()
#3 C:\inetpub\wwwroot\web\modules\contrib\visitors\src\Service\SequenceService.php(59): Drupal\visitors\Service\SequenceService::integer()
#4 C:\inetpub\wwwroot\web\modules\contrib\visitors\src\Service\SequenceService.php(24): Drupal\visitors\Service\SequenceService::hours()
#5 C:\inetpub\wwwroot\web\modules\contrib\visitors\visitors.module(510): Drupal\visitors\Service\SequenceService::fill()
#6 [internal function]: visitors_views_post_execute()

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States bluegeek9

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024