How to show records belonging to the logged on user

Hello,

For years the display of the details of my list was working with no issue. Since the last Joomla 3.9.12 update, I get this following error now when I click on the menu
0 Argument 1 passed to Joomla\Utilities\ArrayHelper::toObject() must be of the type array, null given, called in /home/accademi/public_html/components/com_fabrik/models/form.php on line 490

The menu is set up in this way. Any idea why I suddenly get this error message?

upload_2019-10-12_19-23-41.png



upload_2019-10-12_19-22-37.png
 
Ah, yes, a change in the J! implementation of that.

Try changing line 490 in the file the error references to ...

Code:
if ($listModel->canViewDetails(FArrayHelper::toObject($data)))

... so FArrayHelper instead of ArrayHelper. Our implementation of toObject() checks for null and just returns a null object if it is. The J! implementation used to do that, but looks like it no longer does, for reasons I don't understand.

Let me know if that gets rid of the warning.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top