NO BUG: The bricks theme is incompatible with Godaddy

IMAGE:

[
Due to GoDaddy hosting being forcibly enabled/ wp-content/mu-plugins/object-cache-pro/( * Plugin Name: Object Cache Pro (MU) * Plugin URI: https://objectcache.pro )This causes bricks to be unable to correctly add the. mounted CSS class to elements when editing templates.

Normally, it should be rendered as< div class="brx-body iframe mounted" data-v-app="">

This is not only present in V2.0, it is the same in V1.12
]

Hi @zhaolin,

I don’t have GoDaddy hosting or ObjectCachePro to try, but I suppose there should be a way to disable some settings in that plugin, right?
Can you check and disable them, and see if it make any change?

Thanks,
Matej

In fact, this plugin cannot be disabled and there is no option to disable the caching function. If I disrupt the plugin in some way (after backing up the system), bricks can run normally. I roughly checked and found that the plugin is mainly for Redis object caching. I am currently more willing to seek a temporary solution to ensure that both Object Cache Pro and bricks run smoothly.

Yeah, it’s MU plugin, so there is no easy way to disable it. Can you contact GoDaddy and explain the problem to them? They may be able to disable it or they already have a solution.

Let us know.
Thanks, Matej

GoDaddy is consistently the worst host on the market. I think Object Cache Pro may be part of GoDaddy cache settings that you can disable.

:neutral_face:This is the host purchased by the customer, I can only try how to make bricks run normally

Hi @zhaolin ,

Can you try place this on your child theme?

Seems like GoDaddy has certain JS script causing the builder not loaded as expected recently.

add_action( 'wp_enqueue_scripts', function(){
			if ( bricks_is_builder() ) {
				wp_dequeue_script( 'GoDaddy\WordPress\Plugins\Launch\PublishGuidepublish-guide-script' );
				wp_deregister_script( 'GoDaddy\WordPress\Plugins\Launch\PublishGuidepublish-guide-script' );
			}
}, 1000 ); 

Very useful, bricks are working properly, although I’m not sure if the caching plugin is still working properly。