You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
There's an issue with the Pagination (Joomla Articles particle) and Joomla 5 when using the Gantry 5 particle as a Module (No problem via Layout)
Steps:
[Back-end] Create a Joomla module with Gantry 5 Particles. Site Modules -> New -> Gantry 5 Particle -> Pick Joomla Articles -> select Show for Pagination option
[Font-end] Click Next button to see more articles
Result: Joomla\CMS\Event\Module\RenderModuleEvent::onSetSubject(): Argument Add a Gitter chat badge to README.md #1 ($value) must be of type object, null given, called in /Users/dev/Sites/j5_test/libraries/src/Event/AbstractEvent.php on line 225
Joomla 4 is working fine, whether you use the Joomla articles particle via module or layout.
Thank you
The text was updated successfully, but these errors were encountered:
I don't know why, but $this doesn't return the class it's in. Changing $this to AbstractEvent::class or 'AbstractEvent' fixes the problem.
line 224 in libraries\src\Event\AbstractEvent.php
if (method_exists(AbstractEvent::class, $methodName1))
or if (method_exists('AbstractEvent', $methodName1))
@tonamphong I fixed that in Gantry CI builds, should be available in a few minutes for download at: https://gantry.org/downloads. Can you test if it's fixed?
Hi there,
There's an issue with the Pagination (Joomla Articles particle) and Joomla 5 when using the Gantry 5 particle as a Module (No problem via Layout)
Steps:
Joomla 4 is working fine, whether you use the Joomla articles particle via module or layout.
Thank you
The text was updated successfully, but these errors were encountered: