• Resolved ciateam

    (@ciateam)


    Hey there.

    First thing. Love your plugin!

    Second of all. For some reason after I install it on a site with WPbakery installed, the frontend editor stops working.

    Video

    I don’t know why this is, but it’s easy to replicate. Activate woody snippets -> editor stops working. Happens on latest wordpress and on 5.4.2 which I am running.

    I was wondering if this could be looked into?

    Thanks very much in advance.

    • This topic was modified 4 years, 6 months ago by ciateam.
Viewing 2 replies - 16 through 17 (of 17 total)
  • It was probably already known as they had marked it with throws Exception

    	/**
    	 *
    	 * @throws \Exception
    	 */
    	public function loadShortcodes() {
    		if ( vc_is_page_editable() && vc_enabled_frontend() ) {
    			$action = vc_post_param( 'action' );
    			if ( 'vc_load_shortcode' === $action ) {
    				$output = '';
    				ob_start();
    				//MTMOD - $this->setPost();
    				$shortcodes = (array) vc_post_param( 'shortcodes' );
    				do_action( 'vc_load_shortcode', $shortcodes );
    				$output .= ob_get_clean();
    				$output .= $this->renderShortcodes( $shortcodes );
    				$output .= '<div data-type="files">';
    				ob_start();
    				_print_styles();
    				print_head_scripts();
    				wp_footer();
    				$output .= ob_get_clean();
    				$output .= '</div>';
    				// @codingStandardsIgnoreLine
    				print apply_filters( 'vc_frontend_editor_load_shortcode_ajax_output', $output );
    			} elseif ( 'vc_frontend_load_template' === $action ) {
    				$this->setPost();
    				visual_composer()->templatesPanelEditor()->renderFrontendTemplate();
    			} elseif ( '' !== $action ) {
    				do_action( 'vc_front_load_page_' . esc_attr( vc_post_param( 'action' ) ) );
    			}
    		}
    	}
    • This reply was modified 4 years, 4 months ago by mtorrance.
    Thread Starter ciateam

    (@ciateam)

    Mtorrance, thank you very much for your efforts in looking into this further, apologies for the delay saying it, haven’t had much time to even investigate myself.

    I hope they get an official fix in soon.

    Take care

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Conflict with WPBakery Frontent Editor’ is closed to new replies.