WordPress Affiliate Manager

Affiliates Management Plugin for WordPress

  • Home
  • Features
    • Screen Shots
  • Download
  • Documentation
  • Addons
  • Support
    • Support Forum
    • Forum Login
    • Forum Registration
    • Contact
    • Premium Addon/Plugin Support
You are here: Home

omjuicers

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • May 20, 2023 at 7:27 am in reply to: Uncaught TypeError: $(…).datepicker is not a function #8168
    omjuicers
    Participant

    Based on my experiments in 2020 (see previous ticket), the default language makes no difference, the plugin can only load the jquery ui in one of the site’s language and not the others. Which one seems to be random and can change based on what languages are available on the site.

    I call this a bug because it has nothing to do with supporting a multilingual setup or assuring that your plugin works in a multilingual way. But we can call it whatever you prefer, the question is more how to fix this?

    May 19, 2023 at 10:20 am in reply to: Uncaught TypeError: $(…).datepicker is not a function #8166
    omjuicers
    Participant

    @shadowlabs, exactly… and those two are not being included. This precisely the bug I’ve been trying to report to you for 3 years now!

    May 17, 2023 at 12:04 pm in reply to: Uncaught TypeError: $(…).datepicker is not a function #8160
    omjuicers
    Participant

    If this was a joke it would be almost funny.

    Your plugin if obviously not loading jquery and css when used in multilingual setup and that is for sure much closer to a bug than to an incompatibility. I am not asking you to make your plugin compatible with multilingual setup, I can manage that on my own. All I need is for you to be willing to look at bugs instead of hiding behind excuses.

    In the post referred to above, you wrote on April 30, 2020 at that you had submitted a message to the developers to investigate further this issue. Maybe after 3 years, it would be ok to follow up and see if this can be fixed? How hard can it be, seriously?

    May 11, 2023 at 12:28 pm in reply to: Uncaught TypeError: $(…).datepicker is not a function #8130
    omjuicers
    Participant

    Hi,

    I’ve done these tests 3 years ago and it’s not a javascript conflict from another plugin or theme. I can tell you exactly what is happening and it’s related to the site language. I run multilingual site with WPML and when multiple languages are activated in WPML, somehow your plugins is not loading the needed jquery and css needed. This is what creates the error. Here are the lines that don’t load but should from your plugin:

    
    <link rel='stylesheet' id='wpam_jquery_ui_theme-css' href='https://mlsfuhg7sobs.i.optimole.com/f:css/q:mauto/m:1/https://omjuicers.fr/wp-content/plugins/affiliates-manager/style/jquery-ui/smoothness/jquery-ui.css?ver=6.2' type='text/css' media='all' />
    <link rel='stylesheet' id='wpam_style-css' href='https://mlsfuhg7sobs.i.optimole.com/f:css/q:mauto/m:1/https://omjuicers.fr/wp-content/plugins/affiliates-manager/style/style.css?ver=6.2' type='text/css' media='all' />
    

    You can see that your code calls for “datepicker” from jquery. And obviously if you don’t load jquery that contains that function in the first place, it will result exactly in that error. I was able to workaround the css by including the missing css lines in my theme’s css file, but the jquery simply isn’t loading. I don’t think I should add code to load it manually because your plugin is not loading it. Can you please look into fixing that?

    Thanks,
    Marc

    May 10, 2023 at 7:33 pm in reply to: Uncaught TypeError: $(…).datepicker is not a function #8154
    omjuicers
    Participant

    The previous post has been “awaiting moderation” for one week now…

    May 2, 2023 at 9:44 pm in reply to: jquery ui + css not loading when language is different than site default #8125
    omjuicers
    Participant

    I guess I’ll open a new thread since there is no answer here.

    April 29, 2023 at 2:42 pm in reply to: jquery ui + css not loading when language is different than site default #8122
    omjuicers
    Participant

    I just noticed this issue is still unresolved.
    And it’s the same as this one: https://wordpress.org/support/topic/typeerror-datepicker-is-not-a-function/

    December 13, 2022 at 7:59 pm in reply to: Links are wrong in dashboard -> 404 #7978
    omjuicers
    Participant

    Hi, can you please answer this urgently?

    May 4, 2020 at 6:35 am in reply to: jquery ui + css not loading when language is different than site default #6711
    omjuicers
    Participant

    Hi, it doesn’t happen on the main dashboard but on the /?sub=sales, you get an error in the console and the calendar is not loading.

    How can I give you access to my staging site to look at the case, I can provide the exact URL where it’s happeneing.

    Thanks.

    May 2, 2020 at 5:33 am in reply to: jquery ui + css not loading when language is different than site default #6706
    omjuicers
    Participant

    Hi @shadowlabs,

    Good idea, so I tried to switch the default language to German and it makes no difference. The jquery ui still loads in French and not in German.

    Then I decided to push the experiment and I added Italian as a third language to the site. This is when the surprise came. Now jquery ui (javascript+css) only loads in Italian and not in French or German. I tried to switch the default language to all 3 languages and it makes no difference.

    So basically, default language makes no difference, the plugin can only load the jquery ui in one of the site’s language and not the others. Which one seems to be arbitraty and can change based on what languages are available on the site.

    Best,
    Marc

    April 30, 2020 at 2:21 pm in reply to: jquery ui + css not loading when language is different than site default #6704
    omjuicers
    Participant

    Thank you, keep me posted.
    Best,
    Marc

    April 30, 2020 at 5:41 am in reply to: jquery ui + css not loading when language is different than site default #6700
    omjuicers
    Participant

    My site doesn’t have any specific design. It’s a WooCommerce with WPML and WP Affiliate Manager.
    I saw in your release notes that you recently fixed an issue where jquery ui wasn’t loading when the site’s language was not English. This looks like something similar and I hope we can investigate what is causing this issue together.

    I’d be happy to give you access to a staging site so you can see the issue.

    Best,
    Marc

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)

Featured Addons

  • WooCommerce Coupon Tracking
  • WooCommerce Product Specific Commission

Copyright © 2026 | WordPress Affiliate Manager | Privacy Policy