The discussion revolves around issues with CSS connections in plugins after a recent update. Users report errors like undefined method 'find_plugin_css_assets' and undefined method 'topics' for nil:NilClass, indicating problems with plugin stylesheet loading. Stranik discovered that capital letters in the plugin folder name (e.g., Toxu-h → toxu-h) resolved the issue, suggesting case sensitivity is a factor. pfaffman identifies the Toxu-h plugin as the source of the problem. Falco explains that CSS now loads per plugin and skips disabled ones, referencing a recent change. Dev_Work confirms styles fail to load, showing 404 errors, and questions the correct way to register CSS assets. Dev_Work shares a screenshot of the issue. Stranik clarifies that capital letters in the plugin name cause the error, and Dev_Work confirms the fix works. Dev_Work adds that dots in plugin names (e.g., toxu.h) are also problematic, recommending hyphens instead.
In my case, the error was fixed by replacing the case of letters in the name of the plugin (folder). I don’t know why, but now capital letters are not perceived.
This was evident from this error.
ActionView::Template::Error (undefined method `topics' for nil:NilClass) /var/www/discourse/plugins/Toxu-h/custom_views/list/list.erb:71:in `_plugins__oxu_h_custom_views_list_list_erb___43913933