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

**DateMalformedStringException:** DateTime::modify(): Failed to parse time string (0) at position 0 (0) #1496

Open
alxndr-w opened this issue Mar 30, 2024 · 1 comment · May be fixed by #1523

Comments

@alxndr-w
Copy link
Contributor

Bei der Umstellung von PHP 8.2 auf PHP 8.3, IONOS-Webhosting-Paket. Erinnerungsstütze für mich: ABD->Karriere.

Betroffenes Feld:

$yform->setValueField('datestamp', array('createdate','Gesendet am...','','0','0','0'));

DateMalformedStringException: DateTime::modify(): Failed to parse time string (0) at position 0 (0): Unexpected character
File: redaxo/src/addons/yform/lib/yform/value/datestamp.php
Line: 19

Stacktrace
Function File Line
DateTime->modify redaxo/src/addons/yform/lib/yform/value/datestamp.php 19
rex_yform_value_datestamp->preValidateAction redaxo/src/addons/yform/lib/yform.php 349
rex_yform->executeFields redaxo/src/addons/yform/lib/yform.php 270
rex_yform->getForm theme/private/fragments/asentus/frontend.modul.apply.php 48
require redaxo/src/core/lib/fragment.php 114
rex_fragment->{closure} redaxo/src/core/lib/util/timer.php 56
rex_timer::measure redaxo/src/core/lib/fragment.php 112
rex_fragment->parse rex:///module/74/output 9
require redaxo/cache/addons/structure/18.1.content 309
require redaxo/src/addons/structure/plugins/content/lib/article_content.php 122
rex_article_content->getArticle rex:///template/1 90
require redaxo/src/addons/structure/plugins/content/lib/article_content_base.php 443
rex_article_content_base->{closure} redaxo/src/core/lib/util/timer.php 56
rex_timer::measure redaxo/src/addons/structure/plugins/content/lib/article_content_base.php 440
rex_article_content_base->getArticleTemplate redaxo/src/addons/structure/plugins/content/boot.php 58
rex_package::{closure} redaxo/src/core/lib/extension.php 52
rex_extension::{closure} redaxo/src/core/lib/util/timer.php 56
rex_timer::measure redaxo/src/core/lib/extension.php 42
rex_extension::registerPoint redaxo/src/core/frontend.php 22
require redaxo/src/core/boot.php 157
require index.php 9
System report (REDAXO 5.17.0, PHP 8.3.4, MySQL 5.7.42)
REDAXO
Version 5.17.0
PHP
Version 8.3.4
OPcache no
Xdebug no
Database
Version MySQL 5.7.42
Character set utf8
Warning Die verwendete MySQL-Version 5.7.42 wird nicht mehr vom Hersteller gepflegt und sollte aktualisiert werden.
Server
OS Linux
SAPI cgi-fcgi
Webserver Apache
Request
Browser Chrome/123.0.0.0
Protocol HTTP/1.1
HTTPS yes
Packages
accessdenied 2.1.0
adminer 2.0.1
auto_delete 1.0.2
backup 2.9.1
be_style 3.4.0
be_style/customizer 3.3.1
be_style/redaxo 3.3.0
be_style_fluent 4.0.1
bloecks 4.0.2
bloecks/cutncopy 4.0.2
cache_warmup 4.0.0
consent_manager 3.0.8
cronjob 2.11.0
cronjob/article_status 2.10.0
cronjob/optimize_tables 2.10.0
developer 3.9.2
dsgvo 0.9beta5
global_settings 2.8.4
install 2.12.1
maintenance 2.9.2
markitup 3.7.6
markitup/documentation 1.1.0
mblock 3.4.13
media_manager 2.16.0
media_manager_responsive 1.1.5
mediapool 2.14.0
metainfo 2.11.0
mform 7.4.3
mform/docs 1.1
minify 2.2.1
phpmailer 2.13.1
project dev
project_manager 1.5.2
project_manager/client 1.1.0
qanda 2.2.1
quick_navigation 6.1.1
redactor2 4.2.1
speed_up 1.4.0
structure 2.17.0
structure/content 2.17.0
theme 1.4.0
uploader 2.4.2
usage_check 3.0.1
users 2.11.0
watson 2.3.0
yform 4.2.1
yform/docs 3.3.1
yform/email 4.2.1
yform/manager 4.2.1
yform_field 2.5.0
yform_spam_protection 1.2.4
yform_usability 2.1.4
yrewrite 2.10.0
zip_install 1.4.0
@alxndr-w
Copy link
Contributor Author

alxndr-w commented Sep 1, 2024

Jetzt auch in einem weiteren Projekt bei der Umstellung auf PHP 8.3

@alxndr-w alxndr-w linked a pull request Sep 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant