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
Errors: Illegal string offset 'tmpl'
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Errors: Illegal string offset 'tmpl'
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:
TO:
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
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 = '';
Code: Select all
$get = array();
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 27 Feb 2017, 12:29
Re: Errors: Illegal string offset 'tmpl'
Thanx Jan, I changed the development warnings (was set to maximum), and for now the problem is solved!
Regards, Maurice
Regards, Maurice
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Errors: Illegal string offset 'tmpl'
Ok
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Errors: Illegal string offset 'tmpl'
Hi, fixed in version 3.0.5
https://www.phoca.cz/news/979-phoca-maps-3-0-5-released
https://www.phoca.cz/joomla3demo/phoca-maps-demo
Jan
https://www.phoca.cz/news/979-phoca-maps-3-0-5-released
https://www.phoca.cz/joomla3demo/phoca-maps-demo
Jan
If you find Phoca extensions useful, please support the project