Notifications
Clear all

[Solved] Phrases editor stuck on text tab for some sites and on visual for others

5 Posts
3 Users
1 Reactions
1,364 Views
(@csmwp)
Member Customer
Joined: 8 years ago
Posts: 17
Topic starter  

I'm not sure if these tabs should even be on this form, but when I took this screenshot I had all plugins except wpDiscuz disabled and I was running the twentyseventeen theme.

2020 03 25 03h21 35

We have wpDiscuz installed on six sites. Four of those sites the visual tab is selected and the text tab cannot be selected. On the other two, the text tab is selected and the visual tab cannot be selected. The funny thing is that each of these sites we also have a copy for testing on another server, and in some cases, the test site is opposite from the real site as to which tab is selected and which cannot be selected.


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6191
 

Hi @csmwp,

You have a JS error on that pages. Please press F12 and check the error. In most cases, this is a plugin conflict. 


   
(@csmwp)
Member Customer
Joined: 8 years ago
Posts: 17
Topic starter  

Thanks @astghik

As indicated in my OP, there are no plugins enabled except wpDiscuz, and the site is running the TwentySeventeen theme.

There is a javascript related error in the console.

GET  https://stage.safesmartliving.com/wp-content/plugins/wpdiscuz/assets/third-party/wpdcookiejs/customcookie.js?ver=5.3.5  net::ERR_ABORTED 404

edit-comments.php?page=wpdiscuz_phrases_page:1273 Uncaught ReferenceError: Cookies is not defined
at HTMLDocument.<anonymous> (edit-comments.php?page=wpdiscuz_phrases_page:1273)
at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2)
at Function.ready (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2)
at HTMLDocument.J (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3.2:2)

I'm running 5.3.5 and I downloaded a fresh copy to see if I was missing a file somehow, but the file is not present in the new download either. There is no wpdiscuz/assets/third-party/wpdcookiejs/ directory and no  customcookie.js anywhere.

but there is a reference to that file in the page.

<script src="https://stage.safesmartliving.com/wp-content/plugins/wpdiscuz/assets/third-party/wpdcookiejs/customcookie.js?ver=5.3.5"></script>

And wpDiscuz attempts to load the file in class.WpdiscuzCore.php line 1068

wp_register_script('wpdiscuz-jquery-cookie', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdcookiejs/customcookie.js'), array('jquery'), $this->version, true);

 

 

 

This post was modified 5 years ago by Alex Schenker

   
Elvina
(@elvina)
Support
Joined: 5 years ago
Posts: 1403
 

@csmwp,

This will be fixed in the next version update.

In case if you want to fix it as soon as possible please follows the support topic below to get it resolved: https://gvectors.com/forum/emoticons/cant-add-or-disable-emoticons-in-admin-area/

 


   
(@csmwp)
Member Customer
Joined: 8 years ago
Posts: 17
Topic starter  

Thank you @elvina

 


   
Elvina reacted
Share:
Scroll to top