Roundcube Community Forum

Release Support => Pending Issues => Topic started by: tparvais on October 22, 2011, 12:14:31 PM

Title: PHP Error: Deprecated hook name
Post by: tparvais on October 22, 2011, 12:14:31 PM
Hello

I've always a lot of such error in my log, which is growing quickly.

I'm running last stable roundcube 0.6 and many plug ins (see below)

Thank you for any help

Code: [Select]
[22-Oct-2011 18:10:47 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=plugin.calendar_get_reminders&_ts=1319299792408&_remote=1&_unlock=0&_=1319299792409)
[22-Oct-2011 18:10:47 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=plugin.calendar_get_reminders&_ts=1319299792408&_remote=1&_unlock=0&_=1319299792409)
[22-Oct-2011 18:11:46 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1319299851122)
[22-Oct-2011 18:11:46 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1319299851122)
[22-Oct-2011 18:11:47 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=plugin.calendar_get_reminders&_ts=1319299852412&_remote=1&_unlock=0&_=1319299852412)
[22-Oct-2011 18:11:47 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=plugin.calendar_get_reminders&_ts=1319299852412&_remote=1&_unlock=0&_=1319299852412)
[22-Oct-2011 18:12:46 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1319299911123)
[22-Oct-2011 18:12:46 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1319299911123)
[22-Oct-2011 18:12:48 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=plugin.calendar_get_reminders&_ts=1319299912414&_remote=1&_unlock=0&_=1319299912415)
[22-Oct-2011 18:12:48 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in C:\Inetpub\wwwroot\roundcubemail\program\include\rcube_plugin_api.php on line 215 (GET /index.php?_task=mail&_action=plugin.calendar_get_reminders&_ts=1319299912414&_remote=1&_unlock=0&_=1319299912415)



$rcmail_config['plugins'] = array(
'archivefolder',
'autologon',
'calendar_switch',
'jqueryui',
'calendar',
'contextmenu',
'copymessage',
'compose_addressbook',
'compose_newwindow',
'emoticons',
'filesystem_attachments',
'folderbuttons',
'forwardattachment',
'help',
'settings',
'hmail_password',
// 'hmail_autoban',
'hmail_autoresponder',
'hmail_forwarding',
// 'hmail_login',
// 'hmail_password',
'hmail_signature',
// 'hmail_spamfilter',
'keyboard_shortcuts',
'lang_sel',
'listcontrols',
'listcommands',
'markasjunk',
// 'message_highlight ',
'moreuserinfo',
'msglistcols',
'new_user_dialog',
'remember_me',
'remember_skin',
'remember_splitter',
'recipient_to_contact',
'rss_feeds',
'sound_notifier',
'summary',
'show_additional_headers',
'subscriptions_option',
'squirrelmail_usercopy',
'template_objects',
# 'userinfo',
'vcard_attachments',
'webmail_notifier',
'zipdownload'
);
Title: PHP Error: Deprecated hook name
Post by: rosali on October 22, 2011, 11:23:42 PM
One or more of your plugins are outdated. Update your plugins with recent versions. Query the plugin folder for 'save_preferences' and 'user_preferences' to figure out which plugins are using deprecated hooks.
Title: PHP Error: Deprecated hook name
Post by: tparvais on October 24, 2011, 06:07:59 AM
ok I'll check.

just an idea: add the possibility to detect and automatically update outdated plugin via a specific tool.
is it planned somewhere ?

Thomas
Title: PHP Error: Deprecated hook name
Post by: rosali on October 24, 2011, 06:51:24 AM
I'm not a member of the devs crew. I think there are no such plans ... too much file stats.