• Hi
    Thanks for the Great Plugin. It works fine but the Elementor Editor is not loading when the plugin is activated.

    The preview could not be loaded

    Console Error

    Uncaught SyntaxError: Unexpected token ')' ?elementor-preview=24&ver=1649319493:1031 Uncaught SyntaxError: Unexpected token ',' frontend.min.js?ver=3.6.2:2
    Uncaught ReferenceError: elementorFrontendConfig is not defined
        at Object.59 (frontend.min.js?ver=3.6.2:2:32447)
        at __webpack_require__ (webpack.runtime.min.js?ver=3.6.2:2:153)
        at Object.5654 (frontend.min.js?ver=3.6.2:2:3699)
        at __webpack_require__ (webpack.runtime.min.js?ver=3.6.2:2:153)
        at frontend.min.js?ver=3.6.2:2:37676
        at Function.__webpack_require__.O (webpack.runtime.min.js?ver=3.6.2:2:499)
        at frontend.min.js?ver=3.6.2:2:37696
        at webpackJsonpCallback (webpack.runtime.min.js?ver=3.6.2:2:4611)
        at frontend.min.js?ver=3.6.2:2:74
Viewing 1 replies (of 1 total)
  • Thread Starter amiriqbalmcs

    (@amiriqbalmcs)

    I have fixed with the help of below code

    function far_template_redirect() {
    	if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
        	//do something
    	} else {
    	    ob_start();
    		ob_start( 'far_ob_call' );
    	}
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Issue with Elementor’ is closed to new replies.