Closed romainpoirier closed 6 years ago
Came to report the same issue:
Method newism\fields\models\TelephoneModel::__toString() must not throw an exception, caught TypeError: Argument 1 passed to libphonenumber\PhoneNumberUtil::format() must be an instance of libphonenumber\PhoneNumber, null given
Craft 3.0 RC7.1 as well...
After updating to RC8 today the issue still exists
@mikestecker @romainpoirier I'll check this out tomorrow. It's my birthday today 😃
@leevigraham Happy Birthday! Hope you have a great one!
@leevigraham Happy Birthday 🎂 ! Thank you!
Same issue here on 3.0.0-RC8
Method newism\fields\models\TelephoneModel::__toString() must not throw an exception, caught TypeError: Argument 1 passed to libphonenumber\PhoneNumberUtil::format() must be an instance of libphonenumber\PhoneNumber, null given, called in /storage/av04180/www/thetag_html/vendor/newism/craft3-fields/src/models/TelephoneModel.php on line 66
v0.0.8 should fix the issue.
This happens whatever the phone prefix or phone number, even if empty.
Craft CMS version : 3.0.0-RC7.1