nanodesigns / nanosupport

Create a fully featured Support Center in your WordPress setup without any third party dependency, completely FREE. Get a built-in Knowledgebase too. The plugin is available on WordPress.org repository:
https://wordpress.org/plugins/nanosupport/
GNU General Public License v2.0
50 stars 13 forks source link

Ticket details text is not visible #81

Closed deltaforce closed 5 years ago

deltaforce commented 5 years ago

When submitting a ticket, the text is white so is not visible, since the textbox is also while.

https://foodbooking.uk/submit-ticket/

I have checked the settings but I do not see any option to change the text colour.

mayeenulislam commented 5 years ago

When submitting a ticket, the text is white so is not visible, since the textbox is also while.

Actually, there's no text can be written on the visible textarea, as the TinyMCE editor is not working. The error is visible in the browser console (Ctrl + Shift + i).

tinymce is not defined

You can see here how it will look like when the editor is working.

It could be a plugin conflict.

Can you add the "System Status" as it's shown in your Admin Panel (NanoSupport » System Status)? You can copy-paste the status here.

And also you can disable other plugins, and then, can check whether the editor is visible. The Divi theme could also be the cause of the issue. At least we need to pinpoint the issue first. Need your assistance. :)

deltaforce commented 5 years ago

The text is there, If you type something then press CTRL A, it will be hilited and you can see it. and if I open the chrome developer tools, you can see that text color is white.

WordPress version: 5.2.1; NanoSupport version: 0.6.0; E-Commerce?: Disabled; Active Theme: Divi - 3.23.3; ; Debug mode: Off; Multisite?: No; Site Language: en_US; Server: LiteSpeed; PHP Memory Limit: 256 MB; PHP version: 7.2.19; MySQL version: 5.7.26.

...

Active Plugins (15): Akismet Anti-Spam (4.1.2) - by Automattic; Divi Accordions Plus (1.1.1) - by Ivan Chiurcci(Chi); Divi Switch (3.0.2) - by Divi Space; Duplicate Page (3.5) - by mndpsingh287; EWWW Image Optimizer (4.8.0) - by Exactly WWW; Formidable Forms (4.0.03) - by Strategy11; Invoicing (1.0.9) - by AyeCode Ltd; Jetpack by WordPress.com (7.4) - by Automattic; LiteSpeed Cache (2.9.8) - by LiteSpeed Technologies; NanoSupport (0.6.0) - by nanodesigns; Rank Math SEO (1.0.26) - by Rank Math; Tawk.to Live Chat (0.3.7) - by Tawkto; Temporary Login Without Password (1.5.16) - by StoreApps; Video PopUp (1.0.9) - by Alobaidi; Wordfence Security (7.3.2) - by Wordfence.

mayeenulislam commented 5 years ago

Observation

The text is there, If you type something then press CTRL A, it will be hilited and you can see it. and if I open the chrome developer tools, you can see that text color is white.

css-screenshot

That color is not coming from our plugin, and it probably is coming from the Theme Customizer.

But that's not the actual issue. The TinyMCE has to be worked.

Workaround

As you have 15 plugins active, it's impossible to debug what's causing the issue. To find out the conflict, we need to:

Whatever causing the conflict, we need to figure that out to find out a workaround to resolve this. Even if it's not our fault, we can report the issue to the suspected plugin/theme author for a possible solution. :)

Temporary Remedy

I'm not accustomed to the Divi theme. But a temporary remedy could be disabling the TinyMCE editor in the front end:

function issue81_disable_nanosupport_editor( $array ) {
    $array['tinymce'] = false;
    return $array;
}
add_filter( 'ns_wp_editor_specs', 'issue81_disable_nanosupport_editor', 11 );

Please place the block of code at the end of your theme's functions.php inside a PHP code block. It will disable the TinyMCE editor in the Submit Ticket page.

But it's not a solution to the issue.

deltaforce commented 5 years ago

I have found the cause. I use the Litespeed Cache plugin. There is an option "Load JS Deferred" to improve page load speeds and scores.

This is breaking tinymce.

On Mon, 10 Jun 2019 at 09:49, Mayeenul Islam notifications@github.com wrote:

Observation

The text is there, If you type something then press CTRL A, it will be hilited and you can see it. and if I open the chrome developer tools, you can see that text color is white.

[image: css-screenshot] https://user-images.githubusercontent.com/4551598/59183321-8fc1c080-8b8d-11e9-8908-7a00cc79e246.png

That color is not coming from our plugin, and it probably is coming from the Theme Customizer.

But that's not the actual issue. The TinyMCE has to be worked. Workaround

As you have 15 plugins active, it's impossible to debug what's causing the issue. To find out the conflict, we need to:

  • Deactivate all the plugins, except NanoSupport. Check whether the problem persists. If so, it's conflicting with the theme. If not, then activate the plugins one-by-one, and check which one is causing the issue.
  • Themes like Divi uses plugin-territory functions, that's not welcomed by WP Core. So if disabling plugins doesn't solve the issue, then try activating a default theme (any one with twenty***), and see whether the issue persists or not.

Whatever causing the conflict, we need to figure that out to find out a workaround to resolve this. Even if it's not our fault, we can report the issue to the suspected plugin/theme author for a possible solution. :) Temporary Remedy

I'm not accustomed to the Divi theme. But a temporary remedy could be disabling the TinyMCE editor in the front end:

function issue81_disable_nanosupport_editor( $array ) { $array['tinymce'] = false; return $array;}add_filter( 'ns_wp_editor_specs', 'issue81_disable_nanosupport_editor', 11 );

Please place the block of code at the end of your theme's functions.php inside a PHP code block. It will disable the TinyMCE editor in the Submit Ticket page.

But it's not a solution to the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nanodesigns/nanosupport/issues/81?email_source=notifications&email_token=AAJ3VUEWXQ3I3YXLXTU7KBLPZYITLA5CNFSM4HWIJRY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJJWNI#issuecomment-500341557, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ3VUH3XVPJRYHQRCG26JLPZYITLANCNFSM4HWIJRYQ .

--

Russ Michaels IT Jedi Master phone: 01843 808480 <441843808480> website: michaels.me.uk email: russ@michaels.me.uk https://www.facebook.com/russmichaelsconsulting/ https://twitter.com/russmichaels https://www.linkedin.com/in/russmichaels/ [image: skype:russmichaels?chat] IMPORTANT: The contents of this email and any attachments are confidential. It is strictly forbidden to share any part of this message with any sith lord or member of the galactic empire, without a written consent of a member of the Jedi Order. If you received this message by mistake, please use the force to let me know or contact your local Jedi Council representative.

mayeenulislam commented 5 years ago

Here's what the plugin support of "LiteSpeed Cache" suggested about the issue: https://blog.litespeedtech.com/2018/01/31/troubleshooting-lscache-optimization/

Source: WordPress.org Support Forum for LiteSpeed Cache

deltaforce commented 5 years ago

There is nothing in the page you have linked to that will help i'm afraid. That relates to excluding files from minification or combining

On Thu, 13 Jun 2019 at 13:12, Mayeenul Islam notifications@github.com wrote:

Here's what the plugin support of "LiteSpeed Cache" suggested about the issue:

https://blog.litespeedtech.com/2018/01/31/troubleshooting-lscache-optimization/

Source: WordPress.org Support Forum for LiteSpeed Cache https://wordpress.org/support/topic/load-js-deferred-breaking-tinymce/#post-11634204

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nanodesigns/nanosupport/issues/81?email_source=notifications&email_token=AAJ3VUD6RX2MXGNJD54FZ6LP2I2UJA5CNFSM4HWIJRY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXTPSUQ#issuecomment-501676370, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ3VUHWO6QDBX2Z5XWH77TP2I2UJANCNFSM4HWIJRYQ .

--

Russ Michaels IT Jedi Master phone: 01843 808480 <441843808480> website: michaels.me.uk email: russ@michaels.me.uk https://www.facebook.com/russmichaelsconsulting/ https://twitter.com/russmichaels https://www.linkedin.com/in/russmichaels/ [image: skype:russmichaels?chat] IMPORTANT: The contents of this email and any attachments are confidential. It is strictly forbidden to share any part of this message with any sith lord or member of the galactic empire, without a written consent of a member of the Jedi Order. If you received this message by mistake, please use the force to let me know or contact your local Jedi Council representative.

mayeenulislam commented 5 years ago

There is nothing in the page you have linked to that will help i'm afraid.

I'm afraid the link is not provided by us and the issue is not related to NanoSupport.

Closing the issue here.

deltaforce commented 5 years ago

I beg to differ, the reply was sent by you "mayeenulislam"

https://nimb.ws/h8Tjd1