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