Error in Joomla! 6

  • eddie_konczal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 1 hour ago #19206 by eddie_konczal
Error in Joomla! 6 was created by eddie_konczal
Hi,

Zh OpenStreetMap version 17.25.11.25 is giving us an error in Joomla! 6.0.2, regardless of whether the "Behaviour - Backward Compatibility 6" plugin is enabled or disabled.

The error is:

0 plgContentPlgZhOSMMap::onContentPrepare(): Argument #1 ($event) must be of type Joomla\CMS\Event\Content\ContentPrepareEvent, Joomla\Event\Event given

Regards,
Eddie

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

More
2 days 14 hours ago #19207 by Dima
Replied by Dima on topic Error in Joomla! 6
Hi Eddie
Your plugin version have to be 6.25.12.04
Check extension manager for new releases and upgrade plugin

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.

  • eddie_konczal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 days 8 hours ago #19208 by eddie_konczal
Replied by eddie_konczal on topic Error in Joomla! 6
Hi, Dima,

There are two plugins listed in Extension Manager:

Zh OpenStreetMap Plugin = 7.25.12.04

Zh OpenStreetMap Plugin - Article Overview Map = 6.25.12.04

Do both need to be 6.25.12.04?

Regards, Eddie

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

More
1 day 15 hours ago #19209 by Dima
Replied by Dima on topic Error in Joomla! 6
Hi.
Yes. Upgrade both of it.
Is was release to fix plugin for J6 engine

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.

  • eddie_konczal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 8 hours ago #19210 by eddie_konczal
Replied by eddie_konczal on topic Error in Joomla! 6
Hi, Dima,

I reinstalled Zh OpenStreetMap 17.25.11.25 and then used Extensions > Update to update the plugins.

The website still crashes with the following error:

0 plgContentPlgZhOSMMap::onContentPrepare(): Argument #1 ($event) must be of type Joomla\CMS\Event\Content\ContentPrepareEvent, Joomla\Event\Event given

Regards,
Eddie

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

More
12 hours 23 minutes ago #19211 by Dima
Replied by Dima on topic Error in Joomla! 6
Hi, Eddie
I checked on pure Joomla 6 installation, and all works

Here link to plugin
zhuk.cc/files/plg_zhosmmap-j56-7.25.12.04-final.zip

It is 7.25.12.04 version (current) for J5/J6

And in its program body correct parameter definition
public function onContentPrepare(ContentPrepareEvent $event)

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.

Time to create page: 0.211 seconds
Powered by Kunena Forum