Page 1 of 1

Notice: Undefined offset: 0 in /home/.../view.html.php on line 412

Posted: 23 Jun 2023, 15:08
by hardymaxa
Hi all.
I am trying to migrate a web site and just installed PhocaDownload because my old file mgmt system no longer supports J4.
I'm getting this undefined offset error after installation and having only a few files in the new setup.
Its PhocaDownload V4.0.6 on Joomla 4.3.2 stable / PHP 8.0.28

Can you assist please ?

Thanks

Re: Notice: Undefined offset: 0 in /home/.../view.html.php on line 412

Posted: 24 Jun 2023, 11:32
by Jan
Hi, can you paste whole path of the problem file here. To know in which view you get this problem?

Jan

Re: Notice: Undefined offset: 0 in /home/.../view.html.php on line 412

Posted: 17 Jul 2023, 16:25
by angela
Hi,
my problem is probably the same:
After updating to Joomla 4 and installation of the new phoca download i get the warning:
Warning: Undefined array key 0 in ...components/com_phocadownload/views/category/view.html.php on line 412
(The code is: $category = $this->category[0]; )
In the backend seems everything okay: The old files are shown and i can edit files.
Thank you for answering,
Angela

Re: Notice: Undefined offset: 0 in /home/.../view.html.php on line 412

Posted: 19 Jul 2023, 23:01
by Jan
Hi, which version do you use?

Re: Notice: Undefined offset: 0 in /home/.../view.html.php on line 412

Posted: 20 Jul 2023, 13:42
by angela
Hi Jan,
I use phoca 4.0.6, but I ,,solved'' my problem: The error disappeared with changing the template away from the standard cassiopeia-template. Thank you,
Angela

Re: Notice: Undefined offset: 0 in /home/.../view.html.php on line 412

Posted: 22 Jul 2023, 17:14
by Jan
Ok