Deprecated

I have several plugins enabled for my site (http://www.thehippyelf.co.uk/social) and when I navigate to the URL, I get a series of error messages all of which mention the word 'deprecated'...? Some of the error messages include;

  • Deprecated in 1.8: register_plugin_hook() was deprecated by elgg_register_plugin_hook_handler()
  • Deprecated in 1.8: register_elgg_event_handler() was deprecated by elgg_register_event_handler()
  • Deprecated in 1.8: register_plugin_hook() was deprecated by elgg_register_plugin_hook_handler()

I'm not sure what these errors mean or how to fix them. Please help.

  • As Elgg evolves some functions are replace by newer (better) functions. Plugin authors are encouraged to use the new functions.

    If you're a developer check out http://learn.elgg.org/en/2.0/guides/upgrading.html.

    If you're a site administrator, find out which plugins are causing these errors and ask the plugin developer to fix it.

  • So is it because the version of Elgg I have installed doesn't match the versions of each of the plugins?

  • This means some of the functionality that is used by the plugins has been deprecated and will be removed in the next major release. So, if you are using a plugin that is compatible with 2.0 it will work (with or without deprecation notices) until 3.0 is released. When Elgg 3.0 is released, the plugin may stop working unless you upgrade it. Deprecation notices are only visible to site admins and are informational. You can hide them by changing your logging settings.

     

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking