• Resolved PatrickZzhang

    (@patrickzhang)


    Love this plugin, great work.

    I mainly use this plugin to bulk translate media into other languages. However after Polylang upgrading to 1.8 and above, some old calls become deprecated. Though it still works if turned off debug mode, I’m wondering when it can be fixed properly?

    Thank you!

    Patrick

    https://wordpress.org/plugins/media-library-assistant/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your report. I am traveling and away from my development/test system. I will investigate this issue as soon as I can and post an update here when I have progress to report.

    Thanks for your patience and understanding.

    Plugin Author David Lingren

    (@dglingren)

    Thanks again for alerting me to the changes made in Polylang 1.8 and later.

    I have uploaded a new MLA Development Version dated 20160502 that contains the code required to work with the newer Polylang versions while maintaining compatibility with the older Polylang versions.

    To get the Development Version, follow the instructions in this earlier topic:

    Shortcode not working in (special) widget

    It would be great if you can install the Development Version and let me know if it works for you. Of course, if any other problems emerge I want to know about them as well. Thanks for your help and for your positive feedback on the plugin.

    Plugin Author David Lingren

    (@dglingren)

    It has been two weeks since my last post in this topic. Have you had a chance to try the MLA Development Version that should correct the Polylang problems?

    Thread Starter PatrickZzhang

    (@patrickzhang)

    Sorry for the delay.

    I just tried. Many repeated ‘Notice’ showed up underneath the media list. The major two are as below:

    Notice: Undefined offset: 0 in /Applications/MAMP/htdocs/rvc/wp-content/plugins/media-library-assistant/includes/class-mla-polylang-support.php on line 1860

    Notice: Undefined offset: 0 in /Applications/MAMP/htdocs/rvc/wp-content/plugins/media-library-assistant/includes/class-mla-polylang-support.php on line 1890

    Thanks.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update with the Notice message text; very helpful.

    I will have a look at this and post a new Development Version shortly. Thanks for your patience and your help with this topic.

    Plugin Author David Lingren

    (@dglingren)

    I have investigated the source of the Notice messages you are seeing. They occur when trying to add “change language” controls to the Quick Edit and Bulk Edit areas of the Media/Assistant screen. It would help me to know what Polylang version you are using (I am using 1.9.1) and what languages you have activated. Also, are you seeing these messages in all languages and/or the “Show all languages” mode?

    I have uploaded a new MLA Development Version dated 20160525 with a small change that may eliminate the PHP Notice messages. It also contains some debug logging that will give me more information if the problem persists. If the update doesn’t fix the problem you can activate the debug logging and share the results. You can add a Settings/Media Library Assistant Debug tab to get convenient access to the log. To enable logging, add something like this to the bottom of your wp-config.php file:

    /**
     * Media Library Assistant debug options
     */
    define( 'MLA_DEBUG_LEVEL', 1 );
    
    /* That's all, stop editing! Happy blogging. */

    That will add a “Debug” tab to the Settings/Media Library Assistant submenu that gives you access to the error log, and will turn on the logging for some MLA-specific issues. You can enter “0” (zero) in the MLA Reporting text box (scroll to the bottom and click Save Changes) to disable MLA logging but keep the Debug tab available for other uses.

    Plugin Author David Lingren

    (@dglingren)

    I have released MLA version 2.30, which contains the updated Polylang support.

    I am marking this topic resolved, but please update it if the problem persists in the new version. Thanks for your patience in awaiting the new version.

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

The topic ‘Deprecated calls from class-mla-polylang-support’ is closed to new replies.