Support » Plugin: Async JavaScript » Incompatibility with GTMetrix plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    can you share a screenshot so I understand what is happening Marcus?

    frank

    I have the same problem. The tests windows is completely empty except for “Gtmetrix for WordPress >> Tests” and a box on the right hand side with this…

    Fatal error: Cannot declare class Services_WTF_Test, because the name is already in use in /home/jimmiede/public_html/wp-content/plugins/gtmetrix-for-wordpress/lib/Services_WTF_Test.php on line 44

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Fatal error: Cannot declare class Services_WTF_Test, because the name is already in use in /home/jimmiede/public_html/wp-content/plugins/gtmetrix-for-wordpress/lib/Services_WTF_Test.php on line 44

    OK, now I understand. I can add some logic to AsyncJS not to load the GTMetrix class if it is present already, but based on the error message @gtmetrix will have to do the same?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Just checked, I have that logic already;

    
            if ( !class_exists( 'Services_WTF_Test' ) ) {
                require_once( AJ_PLUGIN_DIR . 'lib/gtmetrix/class.Services_WTF_Test.php' );
            }

    so I’m afraid this reallly needs to be addressed in the gtmetrix plugin ..

    Plugin Contributor wormeyman

    (@wormeyman)

    so I’m afraid this really needs to be addressed in the gtmetrix plugin…

    That plugin looks abandoned unfortunately.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Incompatibility with GTMetrix plugin’ is closed to new replies.