[staging fix] Class 'ContentHelperAssociation' not found when editing a module in frontend#22518
Conversation
module in frontend
|
Folks, this is quite similar to #22525 in the sense that the issue happens only when editing a module in frontend. |
|
I was not able yet to reproduce with a custom template. Can you indicate if the problem occurs with J3.9 Beta 4 or staging? |
|
please test with protostar. page would display fo rexample a blog with these associated articles. |
|
Class |
|
Indeed, just found this happens when that module is present on the page. |
|
@csthomas |
|
My advice will not help, because I would like to remove the loading associations from the |
|
There was a solution not to load tags for modules, added by Michael, but for associations it may not work. I suppose the modules like (latest news) do not require any associations. |
|
Indeed, these modules do not need associations. @jsubri |
|
I have tested this item ✅ successfully on 09cb768 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22518. |
Summary of Changes
Loading the class in SITE/components/com_content/models/articles.php
Testing Instructions
Set a multilingual site.

In Global Configuration allow Inline Editing for
Modules & MenusEdit Global Options for Articles and set

Show associationsto ShowMake sure you have some articles associated.
EDIT: Display on the page a
mod_latest_newsmodule.Login frontend as super user and edit a module by clicking on the icon
Before patch
Protostar in error and
Class 'ContentHelperAssociation' not found(this will show if debug is on)After patch
All OK.
Note: The class is loaded in 4.0