ZhGoogleMap: Warning: Undefined property - Maps and Placemarks are not displayed

  • Blasczyk
  • Blasczyk's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 3 days ago #14640 by Blasczyk
Hello,
first the Versions:
Joomla 4.1.4 / PHP 8.0.13 / MySQL 8.0.27
Package    12.22.5.5Status    Zh GoogleMap Package
Component    12.22.5.5Status    Zh GoogleMap
Module    7.22.5.5Status    Zh GoogleMap Module
Here are the test results:
- no maps on the frontend
- error messages in the backend

Maps, error message:
Warning: Undefined property: stdClass::$name in C:\wamp\www\eyedrops\administrator\components\com_zhgooglemap\tmpl\mapmaps\default_body.php on line 40
#    Time    Memory    Function    Location
1    0.0004    365424    {main}( )    ...\index.php:0
2    0.0004    366192    require_once( 'C:\wamp\www\eyedrops\administrator\includes\app.php )    ...\index.php:32
3    0.0224    1295848    Joomla\CMS\Application\CMSApplication->execute( )    ...\app.php:63
4    0.0230    1391088    Joomla\CMS\Application\AdministratorApplication->doExecute( )    ...\CMSApplication.php:278
5    0.0797    2591936    Joomla\CMS\Application\AdministratorApplication->dispatch( $component = ??? )    ...\AdministratorApplication.php:186
6    0.0860    2667936    Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_zhgooglemap', $params = ??? )    ...\AdministratorApplication.php:143
7    0.0895    3087560    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch( )    ...\ComponentHelper.php:389
8    0.0904    3099344    Joomla\CMS\MVC\Controller\BaseController->execute( $task = 'display' )    ...\ComponentDispatcher.php:146
9    0.0904    3099344    ZhukDL\Component\ZhGoogleMap\Administrator\Controller\DisplayController->display( $cachable = ???, $urlparams = ??? )    ...\BaseController.php:735
10    0.0904    3099344    Joomla\CMS\MVC\Controller\BaseController->display( $cachable = ???, $urlparams = ??? )    ...\DisplayController.php:33
11    0.0935    3136600    ZhukDL\Component\ZhGoogleMap\Administrator\View\Mapmaps\HtmlView->display( $tpl = ??? )    ...\BaseController.php:697
12    0.1287    3479792    Joomla\CMS\MVC\View\HtmlView->display( $tpl = NULL )    ...\HtmlView.php:80
13    0.1289    3481536    Joomla\CMS\MVC\View\HtmlView->loadTemplate( $tpl = NULL )    ...\HtmlView.php:220
14    0.1292    3498904    include( 'C:\wamp\www\eyedrops\administrator\components\com_zhgooglemap\tmpl\mapmaps\default.php )    ...\HtmlView.php:436
15    0.1462    3728016    Joomla\CMS\MVC\View\HtmlView->loadTemplate( $tpl = 'body' )    ...\default.php:61
16    0.1465    3744960    include( 'C:\wamp\www\eyedrops\administrator\components\com_zhgooglemap\tmpl\mapmaps\default_body.php )    ...\HtmlView.php:436

Placemark, error message:
Warning: Undefined property: stdClass::$name in C:\wamp\www\eyedrops\administrator\components\com_zhgooglemap\tmpl\mapmarkers\default_body.php on line 44
#    Time    Memory    Function    Location
1    0.0003    365472    {main}( )    ...\index.php:0
2    0.0004    366240    require_once( 'C:\wamp\www\eyedrops\administrator\includes\app.php )    ...\index.php:32
3    0.0230    1295960    Joomla\CMS\Application\CMSApplication->execute( )    ...\app.php:63
4    0.0239    1391200    Joomla\CMS\Application\AdministratorApplication->doExecute( )    ...\CMSApplication.php:278
5    0.0845    2592048    Joomla\CMS\Application\AdministratorApplication->dispatch( $component = ??? )    ...\AdministratorApplication.php:186
6    0.0909    2668048    Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_zhgooglemap', $params = ??? )    ...\AdministratorApplication.php:143
7    0.0945    3087672    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch( )    ...\ComponentHelper.php:389
8    0.0954    3099456    Joomla\CMS\MVC\Controller\BaseController->execute( $task = 'display' )    ...\ComponentDispatcher.php:146
9    0.0954    3099456    ZhukDL\Component\ZhGoogleMap\Administrator\Controller\DisplayController->display( $cachable = ???, $urlparams = ??? )    ...\BaseController.php:735
10    0.0954    3099456    Joomla\CMS\MVC\Controller\BaseController->display( $cachable = ???, $urlparams = ??? )    ...\DisplayController.php:33
11    0.0974    3136752    ZhukDL\Component\ZhGoogleMap\Administrator\View\Mapmarkers\HtmlView->display( $tpl = ??? )    ...\BaseController.php:697
12    0.1333    3598768    Joomla\CMS\MVC\View\HtmlView->display( $tpl = NULL )    ...\HtmlView.php:80
13    0.1335    3600520    Joomla\CMS\MVC\View\HtmlView->loadTemplate( $tpl = NULL )    ...\HtmlView.php:220
14    0.1340    3617904    include( 'C:\wamp\www\eyedrops\administrator\components\com_zhgooglemap\tmpl\mapmarkers\default.php )    ...\HtmlView.php:436
15    0.1871    3886784    Joomla\CMS\MVC\View\HtmlView->loadTemplate( $tpl = 'body' )    ...\default.php:62
16    0.1874    3901424    include( 'C:\wamp\www\eyedrops\administrator\components\com_zhgooglemap\tmpl\mapmarkers\default_body.php )    ...\HtmlView.php:436

Any Solution?

Regards,

Martin
 

Please Log in or Create an account to join the conversation.

More
4 months 3 days ago #14641 by Dima
Hi Martin
I'll fix this warning, but I can't tell you why you can't display map on page, because this warning only warning, not error.
I need direct link to page with map (frontend) to analyse what problem (error is)

Don't forget support my developments: post review in JED , donate , help with thanslation ;)

Please Log in or Create an account to join the conversation.

  • Blasczyk
  • Blasczyk's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 3 weeks ago #14645 by Blasczyk
Hello Dima,
Thank you for your fast response. Unfortunately, this website is under development on my local computer. I can offer you the akeeba backup-file for download, but I won't publish the access details in public.
Can I send you a /pm (privat message)?
Regards,
Martin

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #14648 by Dima
Hi
Then check browser console for errors.
Probably you have some errors on page and therefore you can't see map.

Don't forget support my developments: post review in JED , donate , help with thanslation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.111 seconds

Donate


Go to top