Support

Home Forums Event Espresso Premium People Admin Visual Editor Not Working

People Admin Visual Editor Not Working

Posted: December 28, 2016 at 3:29 am

Viewing 8 reply threads


ardiaful

December 28, 2016 at 3:29 am

Visual editor now displays a blank page, with only the HTML tab of the editor showing the content. Sometimes, I click on the html editor and then back to the visual editor and I can see the text content, but if when I repeat this sequence, neither the html or the visual editor show the content again.

Chrome console shows this error: https://postimg.org/image/y1fskdc7l/


Josh

  • Support Staff

December 28, 2016 at 8:58 am

Hi there,

The console error indicates that you have a plugin or possibly a WP theme function that’s loading in another version of the jQuery UI library instead of the bundled jQuery UI library. That’s a mistake, and the reason it’s a mistake is explained here:

https://developer.wordpress.org/themes/advanced-topics/javascript-best-practices/#use-included-libraries

You can find out which plugin or theme function is loading in the other version of jQuery UI by following these steps:
1) You can rule out a theme script by temporarily switching to the default WordPress theme, then test. The theme test drive plugin allows for testing another theme without actually changing your site’s theme.
2) You can rule this out a plugin conflict by temporarily deactivating any other installed WordPress plugins. Then you reactivate them one by one, while testing the error condition between each reactivation.


ardiaful

December 28, 2016 at 10:38 am

1) If I switch to a WP default theme, People visual editor shows text content only in two thirds of page width

2) If I deactivate all plugins, then my website goes totally blank and I have to restore a backup


Josh

  • Support Staff

December 28, 2016 at 10:43 am

Then you can deactivate plugins one by one. It seems you have at least one improperly coded plugin, and possibly some improperly coded theme functions that lack safety checks before calling functions from other plugins.


ardiaful

December 28, 2016 at 10:51 am

If I deactivate all plugins except EE and EE People add-on, the problem with People Visual Editor appears.


ardiaful

December 28, 2016 at 10:53 am

However, when I activate Advanced Custom Fields plugin, neither HTML nor Visual editors work anymore.


ardiaful

December 28, 2016 at 11:07 am

If I comment this line in ACF plugin:

`function input_admin_head()
{
//add_action( ‘admin_footer’, array( $this, ‘admin_footer’) );
}`

then visual editor appears blank, but works after clicking first in HTML editor.


Josh

  • Support Staff

December 28, 2016 at 12:11 pm

You should probably contact Advanced Custom Fields support, and they can look into a solution for you that doesn’t involve removing scripts like that.


ardiaful

December 29, 2016 at 10:51 am

Solved this by editing wp-config.php and adding:

define(‘CONCATENATE_SCRIPTS’, false);

Viewing 8 reply threads

The support post ‘People Admin Visual Editor Not Working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso