• As many people have seen, the main site and the plugin is no longer stable, but the issue does not seem too complex – most errors relate to missing tinymce JS library, which can be fixed adding code similar to below to functions.php or a plugin controller:

    
    // assets ##
    \add_action( 'wp_enqueue_scripts', 'anspress_wp_enqueue_script' ], 100 ); 
    
    /**
    * Enqueue assets
    * 
    * @since 4.5.0
    */
    function anspress_wp_enqueue_script(){
    
    	// enqueue tinymce script ##
    	if ( 
    		\is_singular('question') 
    		|| \is_singular('answer') 
    	) {
    
    		\wp_enqueue_script( 'wp-tinymce' ); 
    
    	}
    
    }
    
    • This topic was modified 4 years, 6 months ago by qstudio.
  • The topic ‘Easy Fix for common problems on AnsPress’ is closed to new replies.