Page 1 of 1

Errors: Illegal string offset 'tmpl'

Posted: 27 Feb 2017, 12:35
by mlehr
Hai,

Joomla 3.6.5 & Phoca maps 3.0.4. Website: http://arbody.nl/contact/arbody-vestigingen
I get these error messages at the frond end:
Warning: Illegal string offset 'tmpl' in /home/arbody60/public_html/components/com_phocamaps/views/map/view.html.php on line 25
Warning: Cannot assign an empty string to a string offset in /home/arbody60/public_html/components/com_phocamaps/views/map/view.html.php on line 25

And these at the backend of the component:
Warning: Illegal string offset 'name' in /home/arbody60/public_html/administrator/components/com_phocamaps/helpers/phocamaps.php on line 49
Warning: Illegal string offset 'type' in /home/arbody60/public_html/administrator/components/com_phocamaps/helpers/phocamaps.php on line 49
Warning: Illegal string offset 'creationDate' in /home/arbody60/public_html/administrator/components/com_phocamaps/helpers/phocamaps.php on line 49
Warning: Illegal string offset 'author' in /home/arbody60/public_html/administrator/components/com_phocamaps/helpers/phocamaps.php on line 49
Warning: Illegal string offset 'copyright' in /home/arbody60/public_html/administrator/components/com_phocamaps/helpers/phocamaps.php on line 49
And much more of those type of warnings.

Please help!

Regards, Maurice

Re: Errors: Illegal string offset 'tmpl'

Posted: 27 Feb 2017, 17:38
by Jan
Hi, which PHP version do you run?

Try to open this file:
components\com_phocamaps\views\map\view.html.php

and edit this line (line cca 24):

FROM:

Code: Select all

$get			= '';
TO:

Code: Select all

$get			= array();
Do you still get the same error message?

Anyway to solve it quickly (before we find the problem and solution), you should disable development warnings, see:
https://www.phoca.cz/documents/50-phoca/ ... tic-method

Jan

Re: Errors: Illegal string offset 'tmpl'

Posted: 27 Feb 2017, 20:15
by mlehr
Thanx Jan, I changed the development warnings (was set to maximum), and for now the problem is solved!
Regards, Maurice

Re: Errors: Illegal string offset 'tmpl'

Posted: 02 Mar 2017, 17:23
by Jan
Ok

Re: Errors: Illegal string offset 'tmpl'

Posted: 26 May 2018, 13:57
by Jan