Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, can you please provide more detail on what you mean when you say “After switching language to other”?

    Where and how are you switching the language? Please provide specific steps so I can reproduce your issue.

    Thank you.

    Thread Starter Ptr.pl

    (@ptrpl)

    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:
    https://trochimiuk.pl/pl or https://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

    Plugin Author Archetyped

    (@archetyped)

    Thanks for the additional details. Unfortunately, your issue could not be reproduced, which may be due to your specific Polylang settings.

    I will need to take a closer look at your site. Please create a temporary admin account for your site and send the login information to [email protected] so that I can take a closer look.

    Thanks.

    Thread Starter Ptr.pl

    (@ptrpl)

    Yesterday I gave you access to my test site where I reproduced the problem. Did you find anything?
    Piotr

    Plugin Author Archetyped

    (@archetyped)

    Your email wasn’t flagged so thanks for the head’s up.

    Plugin Author Archetyped

    (@archetyped)

    The issue is due to the fact that Polylang modifies post queries without authorization. SLB’s code has been hardened against modifications like this in v2.3.0.

    The beta version of SLB 2.3 is now available to test: SLB 2.3.0 (Beta 3)

    Unfortunately, due to Polylang’s query modifications, media metadata (title, description, etc.) may not work properly. A dedicated add-on will likely be required if there is enough demand for working around Polylang’s issues.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invalid argument supplied in controller.php’ is closed to new replies.