Deprecated function: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\pricespider\Service\PriceSpiderService->getCountryCode() (line 295 of modules/contrib/pricespider/src/Service/PriceSpiderService.php).

Created on 27 November 2024, 21 days ago

Problem/Motivation

While running the page where the PriceSpider module is configured, it is giving deprecation error for the strtoupper()

<strong>Deprecated function: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\pricespider\Service\PriceSpiderService->getCountryCode() (line 295 of modules/contrib/pricespider/src/Service/PriceSpiderService.php).</strong>

Steps to reproduce

  • Upgrade php version to above 8.1.
  • Add PriceSpider module verision 3.0.0-beta2.
  • Install and Configure module and visit page.

You will see mentioned error on top of the page.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India smitghelani Surat, Gujarat

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

Comments & Activities

Production build 0.71.5 2024