• One of my plugin and “freesoul deactivate plugins” plugin doesn’t work properly together. FDP makes this plugin not to work totally. This plugin makes FDP not to work properly. I need this plugin very much. How to make “freesoul deactivate plugins” not to take this plugin into account (exclude this plugin from FDP).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Hi @islamicvideos

    could you tell me the name of that plugin?
    You can disable that plugin on the FDP backend pages by adding this kind of code in wp-config.php before the comment /* That’s all, stop editing! Happy publishing. */:

    define( 'FDP_DISABLE_IN_FDP_PAGE', array( 'woocommerce/woocommerce.php' ) );

    In the example above the plugin WooCommerce will not run on the FDP backend pages.

    woocommerce is the name of the plugin folder of WooCommerce

    woocommerce.php is the name of the main file of the plugin WooCommerce.

    In general, this is the syntax:

    define( 'FDP_DISABLE_IN_FDP_PAGE', array( '[sample-plugin-folder-name]/[sample-plugin-main-file-name.php' ) );

    I hope it helps.

    Have a great day!

    Jose

    Thread Starter islamicvideos

    (@islamicvideos)

    Hi, Jose,

    Thank you very much indeed for your reply.
    My plugin and “freesoul deactivate plugins” plugin doesn’t work properly together in frontend. FDP makes this plugin not to work totally in frontend. This plugin uses shortcodes on a web page of wordpress.

    It gives the following error when FDP is active? (the error is related with my plugin)

    jQuery.Deferred exception: Cannot read properties of null (reading ‘addEventListener’) TypeError: Cannot read properties of null (reading ‘addEventListener’)
    at HTMLDocument.

    Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)

    If I deactivate FDP, the related web page and my plugin work correctly. But I need FDP for other pages.
    How to make “freesoul deactivate plugins” not to be activated on this web page (with this plugin) (exclude this plugin or web page from FDP on frontend)?

    Have a great day!

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

The topic ‘Important: Exclude a plugin from Freesoul Deactivate Plugins’ is closed to new replies.