Cannot declare class PlacemarkVisualization
- Dima
- Offline
- Platinum Member
Less
More
4 years 9 months ago #13159
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Cannot declare class PlacemarkVisualization
Then check code, which you include into addition html text field.
Probably something wrong here
Probably something wrong here
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- esedic
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 8 months ago #13187
by esedic
Replied by esedic on topic Cannot declare class PlacemarkVisualization
I have same problem with using plugin shortcode in 2 tabs, showing 2 separate maps:
If I remove one map, error disappears.
I've solved this by using condition:
Code:
Fatal error: Cannot redeclare class PlacemarkVisualization in /.../components/com_zhosmmap/views/zhosmmap/tmpl/display_map_data.php on line 4696
If I remove one map, error disappears.
I've solved this by using condition:
Code:
if (!class_exists('PlacemarkVisualization')) {
class PlacemarkVisualization
{
public $latitude;
public $longitude;
public $title;
public $desc;
public $addHTML;
}
}
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
4 years 8 months ago #13188
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Cannot declare class PlacemarkVisualization
If you use last version of component, it is already fixed.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- esedic
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 8 months ago #13189
by esedic
Replied by esedic on topic Cannot declare class PlacemarkVisualization
Ok, I see now new version is out. Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds