Viewing 15 replies - 1 through 15 (of 15 total)
  • I’m having the same issue as rhonz10. Images popup OK but links using version 4.4 don’t work. Same error message as above. version 4.3 works fine.

    I think I found a solution for this error – at least until an official patch is released:

    Line 228 of js/jquery-colorbox-wrapper.js should have && instead of || :
    if(ColorboxLocal.colorboxGroupId !== undefined && ColorboxLocal.colorboxGroupId !== null) {

    In js/jquery-colorbox-wrapper-min.js search for this string:
    if(ColorboxLocal.colorboxGroupId!==undefined||ColorboxLocal.colorboxGroupId!==null)
    and replace with this one:
    if(ColorboxLocal.colorboxGroupId!==undefined&&ColorboxLocal.colorboxGroupId!==null)

    That *should* work. ??

    Thanks – not sure what it all means but I had the same issue – followed your instructions and that works!

    Plugin Contributor techotronic

    (@techotronic)

    @codebogan:
    you’re right about that…
    I’ll release a fixed version 4.4.1 right away.

    Cheers,
    Arne

    Plugin Contributor techotronic

    (@techotronic)

    I just released 4.4.1 where this problem is fixed.

    Excellent @techotronic – thanks!
    *codebogan does the update dance* ??

    My issue resolved. Thanks for lightning reply… you the man Ame!

    Sorry, I updated directly from 4.3 up to 4.4.1. After that the Colorbox did not work any longer. I restored 4.3 and everything is fine.

    Plugin Contributor techotronic

    (@techotronic)

    @indoorjo: what exactly was the problem? Was there an error message?

    There was no apparent error message, but the images didn’t open in the Colorbox.

    For you I re-installed 4.4.1 and opened the JavaScript Console.

    Messages:

    • Uncaught ReferenceError: jQuery is not defined in jquery.colorbox-min.js:4
    • Uncaught ReferenceError: jQuery is not defined in jquery-colorbox-wrapper-min.js:1
    Plugin Contributor techotronic

    (@techotronic)

    I must guess at this point, but I would say that either your theme or one of your plugins does something weird with jQuery.
    Since the Colorbox library depends on a certain jQuery version to be present, it won’t work at all if something is wrong…

    Could you post a link to your site here? Maybe I can see what’s wrong even without you breaking the site again by installing version 4.4.1.

    Cheers,
    Arne

    Hi Arne,

    probiere es bitte mal hier – es ist aber nur eine unvollst?ndige Kopie meines Blogs, aber ich habe soeben alle Plugins aktualisiert, natürlich auch das jQuery ??

    https://www.fotokulisse.de/kopie/galerie/people/

    Wie gesagt… mit 4.3 l?uft es unter https://www.fotokulisse.de/content/galerie/people/ , aber eben nicht mit 4.4.1 (siehe erster Link, Teilkopie meines Blogs)

    Plugin Contributor techotronic

    (@techotronic)

    Hi IndoorJo,
    hast Du das Plugin angepasst? Es wird ja eine andere Colorbox Library verwendet – die von “smart-youtube”.
    Ausserdem wird bei der Blog-Kopie aus mir nicht ersichtlichen Gruenden die jQuery-Library zu spaet eingebunden, die Reihenfolge ist faelschlicherweise:

    colorbox-min.js
    colorbox-wrapper.js
    colorbox.js

    und nicht

    colorbox.js
    colorbox-min.js
    colorbox-wrapper.js

    das Smart Youtube-Plugin duerfte auch nicht funktionieren.

    Eigentlich kuemmert sich WordPress automatisch darum, weil ich colorbox-min und colorbox-wrapper so registriere, dass WordPress die Abhaengigkeiten kennt und die Libraries in der richtigen Reihenfolge ins HTML schreibt…

    Viele Gruesse,
    Arne

    Hi Arne,

    ich habe rein gar nichts ge?ndert, weder an der jQuery Colorbox, noch an der Reihenfolge.

    Dein Hinweis auf die Colorbox Library von “smart-youtube” ist aber Gold wert – ich habe das Plugin Smart Youtube PRO 4.1.7 im Einsatz. Deaktiviere ich dieses, funktioniert auch wieder die jQuery Colorbox 4.4.1.

    Seltsam nur, dass es mit der Version jQuery Colorbox 4.3 keine Probleme gibt – denn auf https://www.fotokulisse.de ist jQuery Colorbox 4.3 UND Smart Youtube PRO 4.1.7 ohne Probleme im Einsatz.

    So, ich habe nun das Plugin Smart Youtube PRO 4.1.7 deaktiviert und gel?scht. Es kam ohnehin nur 8 mal zum Einsatz und die Video-Einbettungen habe ich in den entsprechenden 8 Artikeln abge?ndert.

    Nun habe ich auch auf meinem realen Blog die jQuery Colorbox 4.4.1 im Einsatz und es arbeitet.

    Danke für den Hinweis, Arne. Das h?tte ich nie herausgefunden ohne deinen Tipp.

    BTW: Das Youtube-Plugin funktionierte tadellos!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: jQuery Colorbox] Colorbox no longer works after upgrading to 4.4’ is closed to new replies.