Stranik
(Evgeny)
August 20, 2019, 10:31pm
1
Perhaps a local problem, but the css styles in the plugins did not connect.
latest-release +320
ActionView::Template::Error (undefined method `find_plugin_css_assets' for Discourse:Module) /var/www/discourse/app/views/common/_discourse_stylesheet.html.erb:15:in `_app_views_common__discourse_styl
https://github.com/discourse/discourse/compare/1a731dc...72c2818#diff-a39988713b69ba584364632633296cafR157
Perhaps the case is in capital letters in the name of the plugin?
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
1 Like
pfaffman
(Jay Pfaffman)
August 20, 2019, 11:44pm
2
Stranik:
Toxu-h
It appears that plugin is causing the problem.
1 Like
Falco
(Falco)
August 21, 2019, 12:44am
3
Like it was done with done with JS months ago, CSS now loads a file per plugin, and will not load the files for disabled plugins.
https://github.com/discourse/discourse/pull/7646
6 Likes
Dev_Work
(Aleksandr)
August 21, 2019, 11:54am
4
after this commit, styles does not display on the site net::ERR_ABORTED 404
Dev_Work
(Aleksandr)
August 21, 2019, 12:23pm
5
i registring css
register_asset "stylesheets/styles.scss"
register_asset "stylesheets/common/custom-menu.scss"
like now?
Stranik
(Evgeny)
August 21, 2019, 1:19pm
6
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
Toxu-h -> toxu-h
1 Like
Dev_Work
(Aleksandr)
August 21, 2019, 1:46pm
7
Thanks!
This variant works!
1 Like
Dev_Work
(Aleksandr)
August 26, 2019, 11:32am
8
dots also cannot be use in the plugin name
toxu.h -> toxu-h or toxuh
1 Like