Hi,
Do not select category:
https://imgur.com/a/NULSWtu
Kind regards
Christine
Error on new file - Call to undefined method stdClass::set()
- christine
- Phoca Hero

- Posts: 2992
- Joined: 28 Nov 2010, 17:20
- sensomedia
- Phoca Newbie

- Posts: 1
- Joined: 24 Mar 2026, 11:15
Re: Error on new file - Call to undefined method stdClass::set()
Here is how to fix the error:
Edit the file
/administrator/components/com_phocadownload/models/phocadownloadfile.php
on line 94
Replace
$data->set(“catid”, (int)$filter[0]);
With
$data->catid = (int)$filter[0];
We hope this fix will be included in the next release
Edit the file
/administrator/components/com_phocadownload/models/phocadownloadfile.php
on line 94
Replace
$data->set(“catid”, (int)$filter[0]);
With
$data->catid = (int)$filter[0];
We hope this fix will be included in the next release
- Jan
- Phoca Hero

- Posts: 49366
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error on new file - Call to undefined method stdClass::set()
Hi, yes
If you find Phoca extensions useful, please support the project