OpenMage / magento-lts

Official OpenMage LTS codebase | Migrate easily from Magento Community Edition in minutes! Download the source code for free or contribute to OpenMage LTS | Security vulnerability patches, bug fixes, performance improvements and more.
https://www.openmage.org
Open Software License 3.0
866 stars 436 forks source link

Fixed null parameter warning in Mage_Wishlist_Block_Abstract #4068

Closed ADDISON74 closed 3 months ago

ADDISON74 commented 3 months ago

Steps to reproduce this issue

  1. Log into a customer account
  2. Add any product to Favorites
  3. Once you are redirected to the Favorites page send the Favorites list to an email address

Take a look in this file /var/log/system.log. You will see this error, in my test with PHP version 8.3.8.

Deprecated functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/app/code/core/Mage/Wishlist/Block/Abstract.php on line 235