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}
Module with ID 109 should be displayed in the content of the article on the preview page after saving the article.
Error page with: Call to undefined method JModuleHelper::getModuleById()
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
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
Labels |
Added:
?
|
Labels |
Added:
J3 Issue
|
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.
closed as no Core-Issue. Can always reopened if needed.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-25 03:31:13 |
Closed_By | ⇒ | franz-wohlkoenig |
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 |
unable to reproduce