From the file lightbox.js, in line #1129, the following is defined;

url: Drupal.settings.basePath + 'system/lightbox2/filter-xss',

But that results in a watchdog entry: domain.com/some-url-alias/undefinedsystem/lightbox2/filter-xss, where domain.com/some-url-alias is the page where the lightbox script is called.

I also changed line #1129 to the changes in 5.x-2.11, but that didn't solve it.

Comments

stella’s picture

Category: bug » support
Status: Active » Fixed

Sounds like you didn't run update.php after upgrading. If that fails, try clearing the drupal cache manually.

hanskuiters’s picture

Status: Fixed » Closed (fixed)

That did it. Should have thought about that myself. Thanks.

nkaplis’s picture

Hi, there.
Faced a similar issue (the message shows up in the javascript console as an exception) and after running the update.php script as well as cleaning the cache the problem seems to persist. Any ideas?

Thanks in advance.