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

DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string, bool given #78

Open
rajjanorkar opened this issue Aug 14, 2023 · 1 comment
Labels
Awaiting Author Updates Bug Something isn't working

Comments

@rajjanorkar
Copy link
Contributor

Bug Report

Q A
Version(s) 2.21.0

Summary

DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string, bool given {"exception":"[object] (TypeError(code: 0): DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string, bool given at /var/www/html/releases/2/vendor/laminas/laminas-feed/src/Reader/Feed/Rss.php:285)

Current behavior

image

How to reproduce

I am searching for the feed it failed, will post the feed url later!

Expected behavior

Should not throw exception.

@rajjanorkar rajjanorkar added the Bug Something isn't working label Aug 14, 2023
@froschdesign
Copy link
Member

I am searching for the feed it failed, will post the feed url later!

Can you provide the Feed URL to reproduce the problem? The related class already handles the different and wrong date formats, so it would be interesting to know which format is used here.
Thanks in advance! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Author Updates Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants