[wp-trac] [WordPress Trac] #61794: Bugfix in class-wp-translation-file-mo for "PHP Warning: Undefined array key 1 in"
WordPress Trac
noreply at wordpress.org
Thu Aug 22 10:47:13 UTC 2024
#61794: Bugfix in class-wp-translation-file-mo for "PHP Warning: Undefined array
key 1 in"
------------------------------+-------------------------
Reporter: pander | Owner: swissspidy
Type: defect (bug) | Status: closed
Priority: low | Milestone: 6.7
Component: I18N | Version: 6.5
Severity: minor | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-------------------------
Comment (by pander):
Thanks. The culprit is
{{{
string(97) "/var/www/DOMAINNAME/wp-content/plugins/amr-ical-events-
list/lang/amr-ical-events-list-nl_NL.mo"
}}}
and that was repeated 1142 times.
I regenerated the MO file with
{{{
cd /var/www/DOMAINNAME/wp-content/plugins/amr-ical-events-list/lang
mv amr-ical-events-list-nl_NL.mo /tmp
msgfmt amr-ical-events-list-nl_NL.po -o amr-ical-events-list-nl_NL.mo
}}}
and this fixed it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61794#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list