• Resolved shovonkhan109

    (@shovonkhan109)


    This error – wp-includes/js/tinymce/plugins/WordPress/plugin.min.js pops up in only Forminator form in my several websites. I have included one form link here. I have talked to the hosting provider (Siteground), they said everything is fine from their side. I have also tried updating, reinstalling WordPress, deactivating other plugins, etc. Nothing worked. This is only happing with Forminator forms. Please check and provide a solution.

    Also, the form is also not working at all. No conditions set to fields are working, every field is visible.

    • This topic was modified 4 years, 3 months ago by shovonkhan109.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @shovonkhan109

    I hope you are doing good today.

    This is a known issue on some servers when hosting load the script with capital letters:
    wp-includes/js/tinymce/plugins/WordPress/plugin.min.js
    when this should be:
    wp-includes/js/tinymce/plugins/wordpress/plugin.min.js

    Could you please try to install the following snippet in a new MU plugin as shown here:

    Must Use Plugins

    <?php
    
    add_filter(
    	'script_loader_tag',
    	function( $tag, $handle ) {
    		if ( 'tiny_mce' === $handle ) {
    			$tag = str_replace( '/WordPress/plugin.min.js', '/wordpress/plugin.min.js', $tag );
    		}
    		return $tag;
    	},
    	10,
    	2
    );

    Let us know does that helps for both cases.

    Kind Regards,
    Kris

    Thread Starter shovonkhan109

    (@shovonkhan109)

    I have just tried that but still the error appears. And the directory is in the small letter – public_html>wp-includes>js>tinymce>plugins>wordpress

    I created and installed mu-plugins with your snippet on this site – https://www.medmunity.com/post-an-article/

    Hi @shovonkhan109

    On the above page, error seems to be still the same and point issue with capital letters.

    Could you remove above mu-plugin and test this one as mu-plugin as well?

    <?php
    add_filter('forminator_tinymce_args', function( $args ){
    if( is_string( $args ) ){
    $args = str_replace('WordPress', 'wordpress', $args);
    }
    return $args;
    });

    Kind Regards,
    Kris

    Thread Starter shovonkhan109

    (@shovonkhan109)

    Thank you so much, this worked.

    Update – I figured out the other problem related to the form not hiding conditional fields. Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp-includes/js/tinymce/plugins/WordPress/plugin.min.js’ is closed to new replies.