@billyudi – Thanks for your report and your offer to provide the file. If you can send me your contact information using the “Contact Us” form (see my first post in this topic) I will reply with an address you can send the file to.
I haven’t been able to reproduce this issue on my test system. What is the operating system, etc., on the server with the problem? Maybe there’s some subtle file system issue I haven’t considered.
I have uploaded an MLA Development Version dated 20160302 that incorporates Richard K’s “line counting” improvement and makes the error logging optional. By default, logging is now disabled. To enable logging, add something like this to 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 convenient access to the error log, and will turn on the logging for damaged TPL files. You can enter “0” (zero) in the MLA Reporting text box (scroll to the bottom and click Save Changes) to disable TPL logging but keep the Debug tab available for other uses.
If you install this Development Version, activate the logging and still have the problem, let me know what the log says. If you send your current copy of the file I can try it out.
Be sure to preserve your current TPL file before installing the Development Version! If you can test the Development Version with the current file, so much the better.
Thanks for your patience and for your help.