Forminator forms collors | WordPress.org

[ad_1]

Hi @dellos,

I could notice 500 error in the console when loading the style sheets related to the plugin.

Could you please try the following snippet and see whether it helps?

<?php
add_filter( 'forminator_upload_root_htaccess_rules', 'wpmudev_remove_htaccess_rules', 10, 1 );
function wpmudev_remove_htaccess_rules( $rules ) {
	if ( ! empty( $rules ) ) {
		$rules = str_replace('Options -ExecCGI', '', $rules);
	}
	return $rules;
}

You can find the following doc helpful on how to apply the above code as a mu-plugins.

https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

Once done, access your site via FTP (or cPanel “File Manager” or similar tool) and go to /wp-content/uploads/forminator folder and remove only the following line inside the .htaccess file:

Options -ExecCGI

Please do make sure to clear the cache once the changes are applied and let us know if you still face the same issues regarding this.

Looking forward to your response.

Best Regards,

Nithin

Thread Starter
dellos

(@dellos)

Hi, im not convinced to install any mu-plugin’s to my wordpress site. Is there other way the plugin will work out of box?

Thread Starter
dellos

(@dellos)

Ok this solution worked. But what is the problem with my site, that I have to use mu-plugin?

Hi @dellos,

I hope you are doing well today!

In this specific case, the issue was related to how the .htaccess rules were set up for file uploads, causing the 500 error and preventing the changes from being applied. By using the mu-plugin approach, we were able to override those rules and resolve the problem.

We are glad to hear that the information provided has been helpful for you and we are marking this thread as resolved accordingly. Please let us know in case you need further help.

Kind regards,
Zafer

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer