Nirjonadda
Well-known member
Safe to ignore, it's because of the hotfix.
Yes but this will give File health check results lot if time error.
Safe to ignore, it's because of the hotfix.
PHP 5.4.45.You running php5.4?
ErrorException: [E_NOTICE] Undefined index: removeButtons src/addons/KL/EditorManager/Listener/Template/Editor.php:83
Stack trace
#0 src/addons/KL/EditorManager/Listener/Template/Editor.php(83): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/altikana/...', 83, Array)
#1 [internal function]: KL\EditorManager\Listener\Template\Editor::extend(Object(KL\UserImprovements\Template\Templater), 'public', 'editor', Array)
#2 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#3 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor')
#4 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor')
#5 /home/altikana/public_html/blog/wp-content/plugins/wp-xpress-plugin/src/XPress.php(891): XF\Template\Templater->renderTemplate('editor', Array)
#6 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/functions.php(805): XPress::getEditorInstance('comment_content', 'comment')
#7 /home/altikana/public_html/blog/wp-includes/class-wp-hook.php(286): {closure}('<p class="comme...')
#8 /home/altikana/public_html/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p class="comme...', Array)
#9 /home/altikana/public_html/blog/wp-includes/comment-template.php(2376): apply_filters('comment_form_fi...', '<p class="comme...')
#10 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/comments.php(147): comment_form(Array)
#11 /home/altikana/public_html/blog/wp-includes/comment-template.php(1474): require('/home/altikana/...')
#12 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/single.php(49): comments_template()
#13 /home/altikana/public_html/blog/wp-includes/template-loader.php(74): include('/home/altikana/...')
#14 /home/altikana/public_html/blog/wp-blog-header.php(19): require_once('/home/altikana/...')
#15 /home/altikana/public_html/blog/index.php(17): require('/home/altikana/...')
#16 {main}
Request state
array(4) {
["url"] => string(33) "/blog/2018/07/15/wp-article-test/"
["referrer"] => string(31) "https://www.altikanal.com/blog/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
ErrorException: [E_WARNING] Invalid argument supplied for foreach() src/addons/KL/EditorManager/Listener/Template/Editor.php:83
Stack trace
#0 src/addons/KL/EditorManager/Listener/Template/Editor.php(83): XF::handlePhpError(2, '[E_WARNING] Inv...', '/home/altikana/...', 83, Array)
#1 [internal function]: KL\EditorManager\Listener\Template\Editor::extend(Object(KL\UserImprovements\Template\Templater), 'public', 'editor', Array)
#2 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#3 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor')
#4 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor')
#5 /home/altikana/public_html/blog/wp-content/plugins/wp-xpress-plugin/src/XPress.php(891): XF\Template\Templater->renderTemplate('editor', Array)
#6 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/functions.php(805): XPress::getEditorInstance('comment_content', 'comment')
#7 /home/altikana/public_html/blog/wp-includes/class-wp-hook.php(286): {closure}('<p class="comme...')
#8 /home/altikana/public_html/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p class="comme...', Array)
#9 /home/altikana/public_html/blog/wp-includes/comment-template.php(2376): apply_filters('comment_form_fi...', '<p class="comme...')
#10 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/comments.php(147): comment_form(Array)
#11 /home/altikana/public_html/blog/wp-includes/comment-template.php(1474): require('/home/altikana/...')
#12 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/single.php(49): comments_template()
#13 /home/altikana/public_html/blog/wp-includes/template-loader.php(74): include('/home/altikana/...')
#14 /home/altikana/public_html/blog/wp-blog-header.php(19): require_once('/home/altikana/...')
#15 /home/altikana/public_html/blog/index.php(17): require('/home/altikana/...')
#16 {main}
Request state
array(4) {
["url"] => string(33) "/blog/2018/07/15/wp-article-test/"
["referrer"] => string(31) "https://www.altikanal.com/blog/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Can't find the phrases related to front Editor button like : Bold (CTRL+B), Underline (CTRL+U) etc...Look at thekl_em_editor_phrases
template. All phrases that have a translation are listed there. If any are missing, let me know. Translation for them works fine on all my installations.
"Insert Table": "{{ phrase('kl_em_table')|escape('js') }}",
"Table Header": "{{ phrase('kl_em_table_header')|escape('js') }}",
"Remove Table": "{{ phrase('kl_em_remove_table')|escape('js') }}",
"Row": "{{ phrase('kl_em_row')|escape('js') }}",
"Column": "{{ phrase('kl_em_column')|escape('js') }}",
"Insert row above": "{{ phrase('kl_em_insert_row_above')|escape('js') }}",
"Insert row below": "{{ phrase('kl_em_insert_row_below')|escape('js') }}",
"Delete row": "{{ phrase('kl_em_delete_row')|escape('js') }}",
"Insert column before": "{{ phrase('kl_em_insert_column_before')|escape('js') }}",
"Insert column after": "{{ phrase('kl_em_insert_column_after')|escape('js') }}",
"Delete column": "{{ phrase('kl_em_delete_column')|escape('js') }}",
"Vertical Align":"{{ phrase('kl_em_vertical_align')|escape('js') }}",
"Top":"{{ phrase('kl_em_top')|escape('js') }}",
"Middle": "{{ phrase('kl_em_middle')|escape('js') }}",
"Bottom": "{{ phrase('kl_em_bottom')|escape('js') }}",
"Horizontal Align": "{{ phrase('kl_em_horizontal_align')|escape('js') }}",
"Inline Spoiler": "{{ phrase('kl_em_inline_spoiler')|escape('js') }}",
"Align Justify": "{{ phrase('kl_em_align_justify')|escape('js') }}",
"Hide Reply": "{{ phrase('kl_em_hide_reply')|escape('js') }}",
"Hide Posts": "{{ phrase('kl_em_hide_posts')|escape('js') }}",
"Hide Thanks": "{{ phrase('kl_em_hide_thanks')|escape('js') }}",
"Hide Reply Thanks": "{{ phrase('kl_em_hide_reply_thanks')|escape('js') }}",
"Hide": "{{ phrase('kl_em_hide')|escape('js') }}",
"HTML": "{{ phrase('html')|escape('js') }}",
"Google Font": "{{ phrase('kl_em_google_font')|escape('js') }}",
"unlink all links": "{{ phrase('kl_em_unlink_all_links')|escape('js') }}",
How do i translate the KL Editor Front end terms like Bold (CTRL+B), Underline (CTRL+U) ? Can't find them in Admin > PhrasesThose are the standard XenForo phrases.
Those are also standard XenForo phrases, if even. I haven't reinvented the wheel. Everything that's been on the original toolbar is from XenForo.
What would be your use case for that?
I deactivated your Addon, and the sentence "Underline CTRL-U)' is well translated with default XF editor :
View attachment 180164
Once i reactivate KL Editor, the translation is gone :
View attachment 180165
Any news for Xpress bug @Lukas W. Waiting it for starting to use Xpress at my real site.There are some conflicts with TH Xpress addon. Getting following errors. Will be happy if you can fix it as soon as possible. Thanks for your support and interest @Lukas W.
Code:ErrorException: [E_NOTICE] Undefined index: removeButtons src/addons/KL/EditorManager/Listener/Template/Editor.php:83 Stack trace #0 src/addons/KL/EditorManager/Listener/Template/Editor.php(83): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/altikana/...', 83, Array) #1 [internal function]: KL\EditorManager\Listener\Template\Editor::extend(Object(KL\UserImprovements\Template\Templater), 'public', 'editor', Array) #2 src/XF/Extension.php(50): call_user_func_array(Array, Array) #3 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor') #4 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor') #5 /home/altikana/public_html/blog/wp-content/plugins/wp-xpress-plugin/src/XPress.php(891): XF\Template\Templater->renderTemplate('editor', Array) #6 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/functions.php(805): XPress::getEditorInstance('comment_content', 'comment') #7 /home/altikana/public_html/blog/wp-includes/class-wp-hook.php(286): {closure}('<p class="comme...') #8 /home/altikana/public_html/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p class="comme...', Array) #9 /home/altikana/public_html/blog/wp-includes/comment-template.php(2376): apply_filters('comment_form_fi...', '<p class="comme...') #10 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/comments.php(147): comment_form(Array) #11 /home/altikana/public_html/blog/wp-includes/comment-template.php(1474): require('/home/altikana/...') #12 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/single.php(49): comments_template() #13 /home/altikana/public_html/blog/wp-includes/template-loader.php(74): include('/home/altikana/...') #14 /home/altikana/public_html/blog/wp-blog-header.php(19): require_once('/home/altikana/...') #15 /home/altikana/public_html/blog/index.php(17): require('/home/altikana/...') #16 {main} Request state array(4) { ["url"] => string(33) "/blog/2018/07/15/wp-article-test/" ["referrer"] => string(31) "https://www.altikanal.com/blog/" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
Code:ErrorException: [E_WARNING] Invalid argument supplied for foreach() src/addons/KL/EditorManager/Listener/Template/Editor.php:83 Stack trace #0 src/addons/KL/EditorManager/Listener/Template/Editor.php(83): XF::handlePhpError(2, '[E_WARNING] Inv...', '/home/altikana/...', 83, Array) #1 [internal function]: KL\EditorManager\Listener\Template\Editor::extend(Object(KL\UserImprovements\Template\Templater), 'public', 'editor', Array) #2 src/XF/Extension.php(50): call_user_func_array(Array, Array) #3 src/XF/App.php(2392): XF\Extension->fire('templater_templ...', Array, 'public:editor') #4 src/XF/Template/Templater.php(1231): XF\App->fire('templater_templ...', Array, 'public:editor') #5 /home/altikana/public_html/blog/wp-content/plugins/wp-xpress-plugin/src/XPress.php(891): XF\Template\Templater->renderTemplate('editor', Array) #6 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/functions.php(805): XPress::getEditorInstance('comment_content', 'comment') #7 /home/altikana/public_html/blog/wp-includes/class-wp-hook.php(286): {closure}('<p class="comme...') #8 /home/altikana/public_html/blog/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p class="comme...', Array) #9 /home/altikana/public_html/blog/wp-includes/comment-template.php(2376): apply_filters('comment_form_fi...', '<p class="comme...') #10 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/comments.php(147): comment_form(Array) #11 /home/altikana/public_html/blog/wp-includes/comment-template.php(1474): require('/home/altikana/...') #12 /home/altikana/public_html/blog/wp-content/themes/wp-xpress-theme/single.php(49): comments_template() #13 /home/altikana/public_html/blog/wp-includes/template-loader.php(74): include('/home/altikana/...') #14 /home/altikana/public_html/blog/wp-blog-header.php(19): require_once('/home/altikana/...') #15 /home/altikana/public_html/blog/index.php(17): require('/home/altikana/...') #16 {main} Request state array(4) { ["url"] => string(33) "/blog/2018/07/15/wp-article-test/" ["referrer"] => string(31) "https://www.altikanal.com/blog/" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
@Lukas W.
Seems that this is an addon issue :
It's fixed with the next update.Any news for Xpress bug @Lukas W. Waiting it for starting to use Xpress at my real site.
Got that finally done for the next update.We'll all waiting for the AJAX support,I knowwe know you can do it!
We use essential cookies to make this site work, and optional cookies to enhance your experience.