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

1.3.3 compatibility #2

Open
sonanchenko opened this issue Nov 16, 2017 · 0 comments
Open

1.3.3 compatibility #2

sonanchenko opened this issue Nov 16, 2017 · 0 comments

Comments

@sonanchenko
Copy link

sonanchenko commented Nov 16, 2017

Dear @Takika

I've just tried to install this plugin to 1.3.3 roundcube.

the first issue I've faced:

[16-Nov-2017 09:45:06 Europe/Kiev] PHP Fatal error:  Uncaught Error: Call to undefined function get_input_value() in /home/data/www/webmail.in.ua/plugins/rc_foldersort/rc_foldersort.php:186
Stack trace:
#0 /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_plugin_api.php(493): rc_foldersort->sort_json_action()
#1 /home/data/www/webmail.in.ua/index.php(289): rcube_plugin_api->exec_action('plugin.rc_folde...')
#2 {main}
  thrown in /home/data/www/webmail.in.ua/plugins/rc_foldersort/rc_foldersort.php on line 186

I've fixed this by replacing
get_input_value with rc_utils::get_input_value

But then when I tried to open folder via WI:

[16-Nov-2017 09:54:40 Europe/Kiev] PHP Warning:  A non-numeric value encountered in /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_utils.php on line 270
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Stack trace:
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   1. {main}() /home/data/www/webmail.in.ua/index.php:0
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   2. rcube_plugin_api->exec_action() /home/data/www/webmail.in.ua/index.php:289
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   3. rc_foldersort->sort_json_action() /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_plugin_api.php:493
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   4. rcube_utils::get_input_value() /home/data/www/webmail.in.ua/plugins/rc_foldersort/rc_foldersort.php:186
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Warning:  A non-numeric value encountered in /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_utils.php on line 274
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Stack trace:
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   1. {main}() /home/data/www/webmail.in.ua/index.php:0
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   2. rcube_plugin_api->exec_action() /home/data/www/webmail.in.ua/index.php:289
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   3. rc_foldersort->sort_json_action() /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_plugin_api.php:493
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   4. rcube_utils::get_input_value() /home/data/www/webmail.in.ua/plugins/rc_foldersort/rc_foldersort.php:186
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Warning:  A non-numeric value encountered in /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_utils.php on line 278
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Stack trace:
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   1. {main}() /home/data/www/webmail.in.ua/index.php:0
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   2. rcube_plugin_api->exec_action() /home/data/www/webmail.in.ua/index.php:289
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   3. rc_foldersort->sort_json_action() /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_plugin_api.php:493
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   4. rcube_utils::get_input_value() /home/data/www/webmail.in.ua/plugins/rc_foldersort/rc_foldersort.php:186
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Warning:  A non-numeric value encountered in /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_utils.php on line 270
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Stack trace:
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   1. {main}() /home/data/www/webmail.in.ua/index.php:0
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   2. rcube_plugin_api->exec_action() /home/data/www/webmail.in.ua/index.php:289
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   3. rc_foldersort->sort_json_action() /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_plugin_api.php:493
[16-Nov-2017 09:54:40 Europe/Kiev] PHP   4. rcube_utils::get_input_value() /home/data/www/webmail.in.ua/plugins/rc_foldersort/rc_foldersort.php:187
[16-Nov-2017 09:54:40 Europe/Kiev] PHP Warning:  A non-numeric value encountered in /home/data/www/webmail.in.ua/program/lib/Roundcube/rcube_utils.php on line 274

Can you please assist?

My goal is manually sort folders in order to move important ones to top.

Thank you for any help you can provide.

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

1 participant