• Resolved Charlie

    (@charliemariephoto)


    Hi there,

    I have two plugins that I need but don’t work well together – YITH Wishlist and Download Now For WooCommerce. The page they don’t work well on is my moodboard page, so I want to disable Download Now For WooCommerce on that page.

    I tested this on my staging site. And found whilst it does work initially once I’ve reset my minified file cache (by working I mean it’s disabled the plugin and is allowing me to add the item to my cart rather than instant download) It then stops working once it’s done one action, ie the old plugin is back. I’ve even tried changing the firing order so your plugin works before this one. But nothing changes until I reset the minified files again.

    On my main site, it doesn’t work at all weirdly. With the settings exactly the same, both plugins appear to remain active on that page.

    Not sure what to do?

    Thanks

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Charlie

    (@charliemariephoto)

    Apologies, I’ve got it working on the live site as per the staging site issue. So it does work for the first action, and then it stops working immediately after.

    Plugin Author Jose

    (@giuse)

    Hi @charliemariephoto
    It looks the scripts are minified and served by WPOptiimize. Is it right?

    If you confirm it, try the following:
    – clear the cache of WPOptimize, including the minified files
    – disable the scripts concatenation
    – check the page more than once

    If the problem is solved, probably WPOptimmize was serving combined files and in the combined files the scripts that were giving conflicts were both presents even if you disabled the plugins. Freesoul Deactivate Plugins disables the plugins, but if their scripts are included in a concatenated file served by another plugin, you still have that script running.

    If disabling the concatenation doesn’t work, do the following:
    – clear the cache of WPOptimize, including the minified files
    – completely disable WPOptimize
    – check the page more than once

    If the problem is solved only completely disabling WPOptimmize or if it’s not solved, we will investigate deeper.

    Thread Starter Charlie

    (@charliemariephoto)

    Hi there!

    I’m not 100% sure what you mean by ‘disable the scripts concatenation’ – apologies I’m not that tech savvy.

    I did however try disabling the WP-Optimise plugin and the issue was still there even after disabling.

    Thanks
    Charlie

    Plugin Author Jose

    (@giuse)

    Hi @charliemariephoto

    I mean these options:

    WPOptimize => Minify => JavaScript options => Enable merging of JavaScript files

    That checkbox must be disabled. On your server, you have the so-called HTTP/2 and you don’t need to merge files together. Merging scripts means that instead to load separate files you load one file with all scripts together. When the server supports the so-called HTTP/2, this merging (that before I called concatenation) doesn’t help because the browser downloads the scripts in a parallel way and it’s practically the same if you have 10 files of 30 kB or 1 file of 300kB. Without HTTP/2 it helps a lot because the browser should wait that a script is downloaded before to download the next one, but in your case, you don’t need it. It helps only for the score measured by speed test tools, but the real speed is the same, with or without merging the files.

    Can you disable that option and let it disabled? So I can check the page on the frontend without the scripts that are merged.

    Thread Starter Charlie

    (@charliemariephoto)

    Ahh I see! Thanks for that info I never knew that. Ok so I’ve disabled that option – problem is still there but maybe this will help to see?

    Thanks!

    Plugin Author Jose

    (@giuse)

    Thank you @charliemariephoto.

    Can you do the following?:

    – Add this line in wp-config.php?:

    define( ‘EOS_DP_DEBUG’,true );

    Put it before the comment /* That’s all, stop editing! Happy blogging. */
    Then we can see the list of disabled plugins inspecting elements.
    If for you it’s a problem writing in the file wp-config.php, don’t worry, don’t do it. It would be a help, but we can investigate also without that help.

    – Go to Plugins => Must-use and confirm that you have Freesoul Deactivate Plugins in the mu-plugins (the mu-plugins run before any other plugins and are located in wp-content/mu-plugins).

    – Can you share please screenshots of the options:
    – Freesoul Deactivate Plugins => Singles
    – Freesoul Deactivate Plugins => Post Types
    – Freesoul Deactivate Plugins => Customm URLs => Frontend URLs

    – Check the preview of the page with the lens icon
    – Go to Freesoul Deactivate Plugins => Singles => Disable the plugins you want to be disabled => Mouse hover the page row => Click on the lens. It will open a preview. Let me know if in preview mode it works and if you see the unwanted plugins in the list of disabled plugins. To see the list of disabled plugins go with your mouse on the text “Disabled Plugins” that you see on the bottom bar.

    • This reply was modified 4 years ago by Jose.
    Thread Starter Charlie

    (@charliemariephoto)

    Hi there,

    I’ve had an email reply from you but for some reason it’s not showing in this thread? I’m really sorry I don’t understand the instructions you provided?

    Thread Starter Charlie

    (@charliemariephoto)

    sorry i can see the instructions now in the thread, but i really don’t understand – where can I find the mu-plugins? Do you mean my list of plugins?

    Plugin Author Jose

    (@giuse)

    Hi @charliemariephoto

    my previous thread was under moderation and you were not able to see it until the approval.

    Don’t worry, I will try to explain it in a simpler way.

    – Go to the WordPress plugins page and click on the link Must-Use as you see on this picture: https://freesoul-deactivate-plugins.com/wp-content/uploads/2020/10/freesoul-deactivate-plugins-must-use-plugins.jpg. You should also see eos-deactivate-plugins.php, if you don’t see it, let me know.

    – Go to Freesoul Deactivate Plugins => Singles and please share a screenshot of what you see. The Singles settings page is similar to this picture: https://freesoul-deactivate-plugins.com/wp-content/uploads/2020/10/freesoul-deactivate-plugiins-singles-settings.jpg. Before making the screenshot be sure you have the page where you have problems in the screen.
    – Go to Freesoul Deactivate Plugins => Post Types and please share a screenshot of what you see. The Post Types settings page is similar to this picture: https://freesoul-deactivate-plugins.com/wp-content/uploads/2020/10/freesoul-deactivate-plugiins-post-types-settings.jpg
    – Go to Freesoul Deactivate Plugins => Custom URLs => Frontend URLs and please share a screenshot. It will be similar to this picture: https://freesoul-deactivate-plugins.com/wp-content/uploads/2020/10/freesoul-deactivate-plugiins-custom-urls-frontend-settings.jpg.
    – Go to Freesoul Deactivate Plugins => Singles => Mouse over the page row “moodboard” => Click on the lens icon. See this picture as an example: https://freesoul-deactivate-plugins.com/wp-content/uploads/2020/10/freesoul-deactivate-plugiins-preview-mode.jpg. In the example shown in the picture you can see the lens icon (yellow highlighted) for the page “About”. In your case, you need to go with your mouse on the row related to “moodboard” and click on the lens.
    – Then you will land on a new tab. On the bottom of the page, you will see as in this picture: https://freesoul-deactivate-plugins.com/wp-content/uploads/2020/10/freesoul-deactivate-plugiins-preview-disabled-plugins.png. Go with your mouse on “Disabled Plugins” and check if the plugins are disabled.

    Let’s do only the steps above, then if we need it, I will try to explain in a clearer way the other steps.

    Let me know if it’s clearer now, if not so, really don’t worry, I will try to explain it in another way.

    Thread Starter Charlie

    (@charliemariephoto)

    Hi there!

    Sorry for the delay, I logged off for the weekend before you replied.

    Ok I’ve worked through your new instructions (thank you so much for explaining again)

    1) I do indeed see eos-deactivate-plugins.php on must-use plugins page
    2) Screenshots have been taken. Can I send them to an email address rather than on a public forum?
    3) When selecting the lens icon on ‘moodboard’ and looking at the preview of the page, I didn’t understand what the code at the bottom was telling me, so I’ve screenshot that as well.

    If I could have an email address I’ll send over the screenshots.

    Thank you!

    Charlie

    Plugin Author Jose

    (@giuse)

    Hi Charlie @charliemariephoto
    I hope you had a nice weekend. Thank you for the information.
    You can send me the screenshots to [email protected]

    Plugin Author Jose

    (@giuse)

    Hi Charlie @charliemariephoto
    as mentioned in the email I will close this thread.
    @for people who read this thread and have similar problems: the user, in this case, was redirected to another page where no plugins were disabled. Sometimes plugins redirect the user to a page that you don’t find in the Singles settings. In those cases, you need the option Custom URLs => Frontend URLs.

    Thread Starter Charlie

    (@charliemariephoto)

    Thanks Jose! Amazing support so grateful!

    Plugin Author Jose

    (@giuse)

    You are welcome Charlie!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Doesn’t appear to work for me?’ is closed to new replies.