VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: Studio 42 on June 09, 2022, 17:08:44 PM

Title: Incorrect datetime value: '0' locked_on field
Post by: Studio 42 on June 09, 2022, 17:08:44 PM
QuoteError in last com_virtuemart.4.0.2.10661vmError: vmTable store updateObject Incorrect datetime value: '0' for column `ymhr_j3`.`jos2_virtuemart_userinfos`.`locked_on` at row 1
Title: Re: Incorrect datetime value: '0' locked_on field
Post by: Studio 42 on June 15, 2022, 00:31:52 AM
I added in files
order_userinfos.php
userinfos.php
constructor
$this->setLockable();
and now it works
Please fix it in core files
Title: Re: Incorrect datetime value: '0' locked_on field
Post by: Milbo on October 08, 2022, 22:43:43 PM
Thank you, yes also done. But it was more work https://dev.virtuemart.net/projects/virtuemart/repository/diff?utf8=%E2%9C%93&rev=10691&rev_to=10690