Title: Error google/model with php8.1
Last modified: October 10, 2023

---

# Error google/model with php8.1

 *  Resolved [huuuadc](https://wordpress.org/support/users/huuuadc/)
 * (@huuuadc)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-google-model-with-php8-1/)
 * **DEPRECATED: RETURN TYPE OF GOOGLE\MODEL::OFFSETEXISTS($OFFSET) SHOULD EITHER
   BE COMPATIBLE WITH ARRAYACCESS::OFFSETEXISTS(MIXED $OFFSET): BOOL, OR THE #[\
   RETURNTYPEWILLCHANGE] ATTRIBUTE SHOULD BE USED TO TEMPORARILY SUPPRESS THE NOTICE
   IN D:\DAFC\AX_OUTLET\WP-CONTENT\PLUGINS\YAYSMTP\VENDOR\GOOGLE\APICLIENT\SRC\MODEL.
   PHP ON LINE **_256_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [mialewp](https://wordpress.org/support/users/mialewp/)
 * (@mialewp)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-google-model-with-php8-1/#post-17112892)
 * Hi [@huuuadc](https://wordpress.org/support/users/huuuadc/),
   Thanks for contacting
   us.We have fixed this issue and this fix will be released in the next version.
   Once it’s been published, we will let you know as soon as possible.Please be 
   patient.Have a great day!Mia
 *  Plugin Support [mialewp](https://wordpress.org/support/users/mialewp/)
 * (@mialewp)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-google-model-with-php8-1/#post-17112975)
 * Hi [@huuuadc](https://wordpress.org/support/users/huuuadc/),
   Thanks for your 
   patience.The new version has been updated, please update and test it again.Hope
   that works.Many thanks!Mia
    -  This reply was modified 2 years, 8 months ago by [mialewp](https://wordpress.org/support/users/mialewp/).
 *  Thread Starter [huuuadc](https://wordpress.org/support/users/huuuadc/)
 * (@huuuadc)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-google-model-with-php8-1/#post-17114020)
 * Hi [@mialewp](https://wordpress.org/support/users/mialewp/) ,
 * it’s great.
 * When I update the new version, it shows an error in file LEAGUE\OAUTH2\CLIENT\
   TOKEN\ACCESSTOKENINTERFACE.
   I tested it and found I had to change #[ReturnTypeWillChange]
   to #[\ReturnTypeWillChange].It works fine.
 * Many thanks!
   Huuuadc

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error google/model with php8.1’ is closed to new replies.

 * ![](https://ps.w.org/yaysmtp/assets/icon-256x256.png?rev=3056583)
 * [YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service](https://wordpress.org/plugins/yaysmtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yaysmtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yaysmtp/)
 * [Active Topics](https://wordpress.org/support/plugin/yaysmtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yaysmtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yaysmtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [huuuadc](https://wordpress.org/support/users/huuuadc/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/error-google-model-with-php8-1/#post-17114020)
 * Status: resolved