Roundcube Community Forum

Release Support => Pending Issues => Topic started by: lobsterman on September 11, 2012, 09:08:53 AM

Title: PHP Error: Deprecated hook name. imap_init -> storage_init
Post by: lobsterman on September 11, 2012, 09:08:53 AM
Can someone more expert that I tell me what is happening here?

Quote[11-Sep-2012 07:01:37 -0600]: PHP Error: Deprecated hook name. imap_init -> storage_init in /home1/(myUser)/public_html/rc/program/include/rcube_plugin_api.php on line 221 (GET /rc/?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1347368495911)

RC 0.8.1
On shared host at Bluehost
Plugins:
Quote$rcmail_config['plugins'] = array('serverinfo','planner','automatic_addressbook','message_highlight','thunderbird_labels');

google_contacts throws  this error if enabled:
Quote[11-Sep-2012 07:00:44 -0600]: Authentication with Google failed. Reason: BadAuthentication
Title: Re: PHP Error: Deprecated hook name. imap_init -> storage_init
Post by: Volnhar on September 13, 2012, 09:01:38 AM
Search you plugin folder files for the string "imap_init" one of your plugins is using an old storage hook.

When you find it just replace it with  "storage_init" and you should be good to go. You will need to restart Apache or clear any caching you have running on the server.

My guess would be the "message_highlight" plugin.