warning phocadownload

Phoca Download - download manager
frankgr
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Oct 2018, 15:16

warning phocadownload

Post by frankgr »

I'm using joomla 3.8.12

I get the following warnings at Phoca download component:

Warning: Illegal string offset 'name' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'type' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'creationDate' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'author' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'copyright' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'authorEmail' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Cannot assign an empty string to a string offset in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'authorUrl' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'version' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'description' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'group' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Cannot assign an empty string to a string offset in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'filename' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38


On the site itself on the pageof phoca download I get:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/vomabab.nl/public_html/components/com_phocadownload/views/category/tmpl/default.php on line 98

The downloads itself is no problem.

Can someone help me?

Thanks
Frank

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9443
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: warning phocadownload

Post by Benno »

Hi,
which Phoca Download Component version do you use?
which PHP version do you use?

Kind regards,
Benno
frankgr
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Oct 2018, 15:16

Re: warning phocadownload

Post by frankgr »

Hi,
I'm using PHP 7.2.8
Phoca download copyright 2007-2018 (no version number??)

In the control panel there are the following warnings:

Warning: Illegal string offset 'author' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'copyright' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'authorEmail' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Cannot assign an empty string to a string offset in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'authorUrl' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'version' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'description' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'group' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Cannot assign an empty string to a string offset in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'filename' in /home/vomabab.nl/public_html/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38


I'm not familiar with PHP so I don't know what to do.

Regards,
Frank
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: warning phocadownload

Post by christine »

Hi Frank,

above Warning .../libraries/phocadownload/utils/utils.php on line 38 was a notice in previous Phoca Download version.
Since apprx. 1 year ago it's solved with:

Code: Select all

$xml_items = array();  
for PHP 7.1 and also included in current version of Phocadownload: 3.1.4 https://www.phoca.cz/download/category/ ... -component

In addition (checked URL) there is a warning concerning: components/com_weblinks/models ...
Updated com weblinks? https://extensions.joomla.org/extension ... /weblinks/

In the meantime you could either use: System Global Configuration > Server > Error Reporting to: None
or: PHP version change to: 7.1

Kind regards
Christine
frankgr
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Oct 2018, 15:16

Re: warning phocadownload

Post by frankgr »

Hi,

Thanks Christine.
I've updated al the components of Phoca manually (because with other components also warnings).
I Thought it went automaticly from Joomla (version 3.8.12).

Now I have the most recent components.
At the control panels of the components there are no warnings anymore.
However on the site itself there is stil one warning.

I've changed the error reporting to: none.
Now the warning is gone away.

Thanks for your help.

Kind regards,
Frank
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: warning phocadownload

Post by christine »

Hi Frank,

thanks for your feedback.

Kind regards
Christine
Post Reply