Timestamp element error

Status
Not open for further replies.

exchudy

New Member
Hi all
After upgrade Joomla to 4.4 and fabrik to zetta i get error when opening form which contains Timestamp element.

error:
0 array_key_exists(): Argument #2 ($array) must be of type array, int given.

no further investigation was made

Best regards
 
Can you turn on J! debug and set error reporting to maximum. Retry the page and report back the call stack. Thanks.
 
upload_2023-10-28_9-20-20.png
 
Can you change line 97 of plugins/fabrik_element/timestamp/timestamp.php to the following:
Code:
            $layoutData->value = $this->getValue($data, $repeatCounter);
and let us know if that fixes the issue. I believe it will.
 
The error is gone.

But no matter if store as GMT or local the stored time is always the local time.

And the time shown is list view is always the stored time + TZ offset.

E.g. my local time (today UTC + 2) is 16:58
The stored time is always 16:58 (new, edit, store as GMT or store as local)
The time in list is always 18:58
 
Not sure how this ever worked. @exchudy can you unzip the attached into your joomla root directory. It includes a replacement for the timestamp.php file. Please report back if it is now working for you. @troester if you would do the same please?
 

Attachments

  • timestamp.zip
    2.1 KB · Views: 7
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top