• Resolved artxtra

    (@artxtra)


    Hi,
    Great plugin : it works fine with new upload>
    I try to add palette to old attachment: I hit “Calculate Now!’but nothing happens.
    The Console says: unable to found attachDominantColor. I put the script line before the trigger (line 81, dominant-color.php). No error in the console, but still no result…
    Do you have an idea?

    Thanks, Ju

    https://www.ads-software.com/plugins/dominant-color/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter artxtra

    (@artxtra)

    Up!

    As a temporary workaround you may edit the main plugin file (“dominant-color.php”) and renmove the last function parameter at line 19

    wp_register_script('dominanceColorJS', plugins_url('assets/dominant_colour_admin.js', __FILE__), array(), '2.0', true);

    becomes

    wp_register_script('dominanceColorJS', plugins_url('assets/dominant_colour_admin.js', __FILE__), array(), '2.0');

    Then all you have to do ist to click on “Update”.

    Please note that all changes made to the plugin files will be overridden the next time the plugin gets updated.

    Plugin Author Liam Gladdy

    (@lgladdy)

    Ah, this must be some weird plugin conflict.

    I’ll release 2.0.1 now with this fix in! Thanks for the heads up, so sorry for not noticing this thread for so long!

    Plugin Author Liam Gladdy

    (@lgladdy)

    2.0.1 is released! Sorry about this. Not sure how I didn’t notice it before!

    Thread Starter artxtra

    (@artxtra)

    Thanks! I installed another plugin since I asked the question. I may try your solution ASAP.

    Hi Liam,

    I have 2.1.0 and when I click on the “Calculate Now?” link I see that the link changes to “Building Color Palette…” and I’m taken to the top of the screen because it’s linked to # but nothing happens. There’s nothing in my console either.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Calculate Now!’ is closed to new replies.