Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed null parameter warning in Mage_Wishlist_Block_Abstract #4068

Merged
merged 2 commits into from
Jul 2, 2024

Commits on Jul 2, 2024

  1. Deprecated functionality: trim(): Passing null to parameter #1 ($stri…

    …ng) of type string is deprecated in Mage/Wishlist/Block/Abstract.php on line 235
    
    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
    
    ```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```
    addison74 authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    af6576f View commit details
    Browse the repository at this point in the history
  2. Update app/code/core/Mage/Wishlist/Block/Abstract.php

    Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
    addison74 and fballiano authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    5b9859d View commit details
    Browse the repository at this point in the history