MO generator generating PHP warnings

WordPress Event Management, Calendars & Registration Forums Report A Bug MO generator generating PHP warnings

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19396

    Hi Stephen,

    I’ve just tried adding a bit of Welsh translation for Pro and was a bit confused as to why my MO file wasn’t working. I looked in it and saw the following!

    <br />
    <b>Warning</b>: implode(): Invalid arguments passed in <b>/home/wpevento/public_html/i18n/wp-content/plugins/i18npress/includes/mo-generator.php</b> on line <b>60</b><br />
    <br />
    <b>Warning</b>: implode(): Invalid arguments passed in <b>/home/wpevento/public_html/i18n/wp-content/plugins/i18npress/includes/mo-generator.php</b> on line <b>60</b><br />
    Þ•

    No great drama for me at the moment as I can generate my own MO file locally, but thought it’ll be important to look into prior to you releasing any upgrades as presumably you include all the latest MOs with every release…

    All the best,

    Andrew

    Andrew Shankie
    #19419

    Hi Andrew,

    I’ve been meaning to remove the .mo download feature from that site as it’s not functioning correctly (those error messages aside). The .mo files for release are actually generated locally as part of the build routine, so there’s no concern that the above error message will impact releases, but thanks for reporting it nonetheless!

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.