Problem/Motivation
An update to the dependency at https://github.com/giggsey/libphonenumber-for-php has caused this module to start consistently throwing a fatal error, because the module references a constant that evidently no longer exists.
Steps to reproduce
Install the module and its dependencies.
Proposed resolution
I'm not sure what “PhoneNumberUtil::META_DATA_FILE_PREFIX” ever referenced, but all of the example calls to PhoneNumberUtil::getInstance() in the libphonenumber-for-php examples have no parameter, so I'm hoping it's safe to just remove the undefined constant wherever it appears.
Remaining tasks
Create a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3375657-undefined-constant-META_DATA_FILE_PREFIX.patch | 2.61 KB | noah |
Comments
Comment #2
noah commentedPatch attached.
Comment #5
omahmComment #6
omahmFixed for both release, thanks Noah.