J3 Issue ?
avatar aci78
aci78
24 Jul 2019

Steps to reproduce the issue

Add a module in an article using Add module button from the editor.
After choosing the module, we get in the editor's window:

{loadmoduleid 109}

Expected result

Module with ID 109 should be displayed in the content of the article on the preview page after saving the article.

Actual result

Error page with: Call to undefined method JModuleHelper::getModuleById()

System information (as much as possible)

Joomla 3.9.10

PHP 7.2 (ea-php72)

Web server LiteSpeed
HTTP response code 200

alt-svc | quic=":443"; ma=2592000; v="35,39,43"
cache-control | no-store, no-cache, must-revalidate, post-check=0, pre-check=0
connection | close
content-encoding | gzip
content-type | text/html; charset=utf-8
date | Wed, 24 Jul 2019 16:57:05 GMT
expires | Wed, 17 Aug 2005 00:00:00 GMT
last-modified | Wed, 24 Jul 2019 16:57:05 GMT
pragma | no-cache
server | LiteSpeed
transfer-encoding | chunked
vary | Accept-Encoding
Time to contact web server | 2.879497 seconds

Additional comments

If I manually edit the syntax to {loadmodule mod_login,module title} the result is as expected. Please modify back the plugin file loadmodule to use the old syntax by module type and name, not by ID, and also add a warning not to change the module name, otherwise the already inserted module name in old articles will not be updated to the new module name.

Thank you

avatar aci78 aci78 - open - 24 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jul 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Jul 2019
avatar alikon
alikon - comment - 24 Jul 2019

unable to reproduce

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Jul 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 24 Jul 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Jul 2019

can't confirm too.

@aci78 have you asked in Forum?

avatar joeforjoomla
joeforjoomla - comment - 24 Jul 2019

By sure not a core issue, a third-party extension is overriding the JModuleHelper class not updated to the latest version including the getModuleById function.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Jul 2019

closed as no Core-Issue. Can always reopened if needed.

avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Jul 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-07-25 03:31:13
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 25 Jul 2019
avatar aci78
aci78 - comment - 25 Jul 2019

Screenshot_2019-07-25_18-49-16
Screenshot_2019-07-25_18-48-55

I have to tell that I am using the old router method and the error is real.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Jul 2019

Test again using legacy routing – works as expected.

Setting Value
PHP Built On Linux lamp122.cloudaccess.net 3.10.0-962.3.2.lve1.5.24.7.el6h.x86_64 #1 SMP Mon Dec 17 12:02:35 EST 2018 x86_64
Database Type mysql
Database Version 5.7.24-cll-lve
Database Collation utf8mb4_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.1.30
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.9.11-dev Development [ Amani ] 10-July-2019 16:04 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Firefox/68.0
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Jul 2019

@aci78 have you asked in Forum?

avatar ot2sen
ot2sen - comment - 25 Jul 2019

@aci78 Try to change to the standard Joomla frontend template. When you then see it works to load the module by id, then visit your template provider joomlashine and ask in their support forum.

Add a Comment

Login with GitHub to post a comment