Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with plugin iv RC 1.3.3 #30

Open
bilbolodz opened this issue Nov 14, 2017 · 3 comments
Open

Problem with plugin iv RC 1.3.3 #30

bilbolodz opened this issue Nov 14, 2017 · 3 comments

Comments

@bilbolodz
Copy link

I'm trying update my RC from 1.2.X to 1.3.X and got an error with vacation_sieve plugin.

[14-Nov-2017 13:45:22 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function Q() in /var/www/roundcubemail-1.3.3/plugins/vacation_sieve/vacation_sieve.php:293 Stack trace: #0 /var/www/roundcubemail-1.3.3/program/include/rcmail_output_html.php(1146): vacation_sieve->vacation_sieve_form(Array) #1 [internal function]: rcmail_output_html->xml_command(Array) #2 /var/www/roundcubemail-1.3.3/program/include/rcmail_output_html.php(1014): preg_replace_callback('/<roundcube:([-...', Array, '<roundcube:obje...') #3 /var/www/roundcubemail-1.3.3/program/include/rcmail_output_html.php(635): rcmail_output_html->parse_xml('<roundcube:obje...') #4 /var/www/roundcubemail-1.3.3/program/include/rcmail_output_html.php(489): rcmail_output_html->parse('plugin', false) #5 /var/www/roundcubemail-1.3.3/plugins/vacation_sieve/vacation_sieve.php(95): rcmail_output_html->send('plugin') #6 /var/www/roundcubemail-1.3.3/program/lib/Roundcube/rcube_plugin_api.php(493): vacation_sieve->vacation_sieve_init() #7 /var/www/roundcubemail-1.3.3/index.php(289): rcube_plugin_api->exe in /var/www/roundcubemail-1.3.3/plugins/vacation_sieve/vacation_sieve.php on line 293

@bilbolodz
Copy link
Author

To get these working you have to replace all Q( calls with: rcube::Q(

@bilbolodz
Copy link
Author

Generally there are a lot more problems with these plugin in RC 1.3: many function which in 1.2 has been marked as deprecated in 1.3 are removed.

@nicorac
Copy link

nicorac commented Nov 9, 2018

I'm actually using vacation_sieve, so I've fixed it to make it run with RoundCube 1.3.

Here's the repository:
https://github.com/nicorac/vacation_sieve

Hope it helps...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants