Title: Ptr.pl's Replies | WordPress.org

---

# Ptr.pl

  [  ](https://wordpress.org/support/users/ptrpl/)

 *   [Profile](https://wordpress.org/support/users/ptrpl/)
 *   [Topics Started](https://wordpress.org/support/users/ptrpl/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ptrpl/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ptrpl/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ptrpl/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ptrpl/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ptrpl/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Lightbox] Invalid argument supplied in controller.php](https://wordpress.org/support/topic/invalid-argument-supplied-in-controllerphp/)
 *  Thread Starter [Ptr.pl](https://wordpress.org/support/users/ptrpl/)
 * (@ptrpl)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/invalid-argument-supplied-in-controllerphp/#post-4712201)
 * Yesterday I gave you access to my test site where I reproduced the problem. Did
   you find anything?
    Piotr
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Lightbox] Invalid argument supplied in controller.php](https://wordpress.org/support/topic/invalid-argument-supplied-in-controllerphp/)
 *  Thread Starter [Ptr.pl](https://wordpress.org/support/users/ptrpl/)
 * (@ptrpl)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/invalid-argument-supplied-in-controllerphp/#post-4712152)
 * 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](http://trochimiuk.pl/pl)
   or [http://trochimiuk.pl/en](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”](https://www.google.pl/?gfe_rd=ctrl&ei=pOQmU4b5LauK8QfiqYD4DQ&gws_rd=cr#q=%22simple-lightbox%2Fcontroller.php+on+line+934%22)
 * 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:
    - [Language settings](http://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/settings/)
    - [Translating media](http://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/translating-media/)
 * Piotr

Viewing 2 replies - 1 through 2 (of 2 total)