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

[PHP 8.x] Deprecated functionality: strtotime(): Passing null to parameter #1 ($datetime) #4338

Closed
addison74 opened this issue Nov 7, 2024 · 2 comments · Fixed by #4339
Closed

Comments

@addison74
Copy link
Contributor

[Test Environment]

Windows 11 + WSL
Docker 4.34.4
DDEV 1.2.5 (Apache 2.4.62, PHP 8.4.ORC1, MariaDB 10.11.9) with MAGE_IS_DEVELOPER_MODE=1
Magento Sample Data

Steps to reproduce this issue

Go to Backend > Catalog > Manage Products
Edit any product from the grid
Add Related/Cross/Up sells to the product then Save

The product changes are saved but you will see this error message

Deprecated functionality: strtotime(): Passing null to parameter #1 ($datetime)
of type string is deprecated in 
/var/www/html/app/code/core/Mage/CatalogRule/Model/Resource/Rule.php on line 187

datetime

@sreichel
Copy link
Contributor

sreichel commented Feb 4, 2025

@all-contributors add @addison74 bug

Copy link
Contributor

@sreichel

I've put up a pull request to add @addison74! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants