PHP errors when plugin is enabled

Bug #1131870 reported by Felix Eckhofer on 2013-02-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
John Vrbanac

Bug Description

When the plugin (which appears to work great otherwise!) is enabled, I get the following error in the log on almost every request:
PHP Error: Deprecated hook name. mailboxes_list -> storage_folders in /var/www/vhosts/ on line 221
Also, every few minutes, I get this error, which also appears to cause an error message in the roundcube frontend:
PHP Fatal error: Cannot use object of type rcube_result_index as array in /var/www/vhosts/ on line 37

(Using Roundcube 0.8.4 on Debian with php 5.3.3-7+squeeze14 with the plugin code from trunk)

Changed in roundcube-unity-webapp-plugin:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → John Vrbanac (john.vrbanac)
milestone: none → 0.1.1
John Vrbanac (john.vrbanac) wrote :

Thank you for submitting this bug. I was running an older version of roundcube, so I wasn't seeing that error before. Anyhow, I have released a fix for this as version 0.1.1. Also, as a little side bonus, I added a variable in unity_webapp.js called "WebAppTitle". By changing that, you can set the name that appears on the Unity panel and message indicator. Anyhow, let me know if you're having problems with anything else. Enjoy!

Changed in roundcube-unity-webapp-plugin:
status: Fix Committed → Fix Released
Felix Eckhofer (eckhofer) wrote :

Awesome, thanks a lot!

Felix Eckhofer (eckhofer) wrote :

Just noticed that this just got rid of one of the error messages. The problem with rcube_result_index being used as an array still persists. If I understood the docs correctly, we're supposed to call ->get() to access the results as an array or use get_element(i) for direct access. See attached patch for a change that appears to work for me.

Changed in roundcube-unity-webapp-plugin:
status: Fix Released → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers