Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Ptr.pl on "[Plugin: Simple Lightbox] Invalid argument supplied in controller.php"

$
0
0

Thank you for your quick response.

In fact, the method used to switch language doesn't matter. Problem with simple-lightbox warnings occurs on all English pages and posts containing pictures. All Polish content is free of warnings.
Maybe one fact is important: I have started my blog in Polish only and then I have translated content to additional language (English).

My blog allows to switch language by using widget with flags (English/Polski). You can also add language code to URL:
http://trochimiuk.pl/pl or http://trochimiuk.pl/en.

A warning is displayed at the bottom of the page as many times as the number of pictures on page.

Google shows two more blogs with the same error, try this:
"simple-lightbox/controller.php on line 934"

I am able to reproduce the same behavior on test page.

  1. Clean install of Wordpress 3.8.1
  2. Plugin installation: simple-lightbox and polylang
  3. Uploading media - JPG file
  4. Translating media</>
  5. Publishing post in Polish
  6. Adding english version of post
  7. Replacing media with english version

Post in first language is displayed without warnings, but the second is with warning.

Polylang documentation:

Piotr


Viewing all articles
Browse latest Browse all 11471

Trending Articles