Support » Plugin: Ocean Extra » Uncaught ReferenceError: butterbean is not defined

  • Hi,

    There’s a bug on butterbean class.
    ocean-extra/includes/metabox/butterbean/class-butterbean.php on line 803

    (function (api) {
    	if (_.isObject(api) && _.isFunction(api.render)) {
    		api.render();
    	}
    }(butterbean));
    

    Solution : add a simple test.

    
    if (typeof butterbean !== 'undefined') {
    	(function (api) {
    		if (_.isObject(api) && _.isFunction(api.render)) {
    			api.render();
    		}
    	}(butterbean));
    }
    

    I have this bug on a child theme. Elementor web site.
    Is it possible to correct?
    Thanx

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Amit Singh

    (@apprimit)

    Hello,

    It is a false alarm and there is no issue with it. We will test your solution and if it works, then we will add it to the plugin. Thank you for the solution.

    “It is a false alarm and there is no issue with it”
    You’re wrong. Elementor doesn’t work because of that.

    yessoftmk

    (@yessoftmk)

    Today I have same error

    
    Uncaught ReferenceError: butterbean is not defined
        at post.php?post=8&action=elementor:6646
    
    			<script type="text/javascript">
    				( function( api ) {
    					if ( _.isObject( api ) && _.isFunction( api.render ) ) {
    						api.render();
    					}
    				}( butterbean ) );
    			</script>
    

    edit in elementor not load, white page, but if enable safe mode in elementor – all works

    same issue.

    Up

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.