I have my website running on Elgg 2.7 and wanted to try out Elgg 3.0. After installing everything, Elgg 3.0 worked fine on browsers. Then i rsync my customized plugins with Elgg.3.0 plugins and it still worked. But when I tried to activate my own plugins, I got 'Cannot register languages....' error. So i fixed this problem by using 'return array(.....)' instead of assigning an array to a variable and using 'add_translation('en', $my_var) in my_plugin/languages/myfile.php. My real problem starts here: i loaded my website, my plugin that I previously activated and had the error was not listed in my https://mysite.com/admin/plugins. So I renamed that plugin, reloaded the page, and that plugin was there. Then I renamed it back to the original name, it still does not show in my plugins list. Any ideas what I have done wrong or suggestions to fix my issue? Thank you very much!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov

ihayredinov - 0 likes
- seri_ng@seri_ng

seri_ng - 0 likes
You must log in to post replies.Sounds like the nasty bug I was chasing here https://github.com/Elgg/Elgg/pull/12143
Thanks for your response Ismayil. I removed the remove_private_setting() and replaced it with $this->getPrivateSetting($name); see the code below.
// engine/classes/Elgg/Database/Plugins.php
$name = $this->namespacePrivateSetting('internal', 'priority');
$this->getPrivateSetting($name);
Did i do it right? It still does not work for me.
Thanks