Plugin Compatibility with PHP 8.1.9 and WP 6.0.1
-
Good Day,
We are using PHP 8.1.9. So far, no noticeable issues with your plugin.
Query Monitor, however, has identified several deprecated notices related to your plugin.
Details: https://prnt.sc/EwKM5qgsWKM6
Are you aware of this? Any plans to fix this soon?
Also, any plans to ensure your plugin is fully compatible with WP 6.0.1? (current version)
Thank you.
-
Hi Generosus
Thank you for your comment and for letting us know about the bug.
It seems that Freemius SDK should be updated.it’s a third party integration.
Our plugin’s files are compatible with wp 6.x tho.
We are going to update the SDk and make sure all everything is compatible with the latest version of php and wp.
Thanks for the heads up.
Cheers.Hi @spartac,
Thank you for the quick reply.
Your WP plugin page says “Tested up to: 5.9.3”
Has your plugin been tested up to WP 6.0.1?
Looking forward to it.
Cheerio!
Hi @spartac,
Any updates for PHP 8.X and WP 6.X?
We’re still seeing tons of deprecated notices.
Concerned that Twilio is not working properly due to the deprecation notices.
Thank you!
Hi Generosus
I have tested it with wp 6.x and it’s stable.
Concerning PHP8.x.I will make tests in a while and let you know.
What notices do you get ?Hey @spartac,
Concerning WP 6.X, that’s great. Can you reflect that in your plugin’s Details section at your next convenient plugin revision level?
Concerning PHP 8.X, to obtain the PHP deprecation notices related to your plugin, perform the following:
1. Install and activate WP SMS.
2. Install and activate Query Monitor.
3. Click on the Query Monitor menu link, then PHP Errors.
4. Apply the PHP Error Filter, wp-twilio-core, to view all plugin-related PHP deprecation noticesNote: You will need to navigate through your plugin’s settings, etc so that Query Monitor can detect and flag all PHP deprecations related to your plugin.
Hope this helps.
Thank you!
Using plugin 1.4.0 and PHP 8.1.15 still get a lot of warnings
Bunch of warnings show up if you have debug enabled for wordpress: Deprecated: Return type of FS_Key_Value_Storage::offsetExists($k) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 309 Deprecated: Return type of FS_Key_Value_Storage::offsetGet($k) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 317 Deprecated: Return type of FS_Key_Value_Storage::offsetSet($k, $v) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 301 Deprecated: Return type of FS_Key_Value_Storage::offsetUnset($k) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 313 Deprecated: Return type of FS_Key_Value_Storage::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 328 Deprecated: Return type of FS_Key_Value_Storage::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 339 Deprecated: Return type of FS_Key_Value_Storage::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 350 Deprecated: Return type of FS_Key_Value_Storage::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 362 Deprecated: Return type of FS_Key_Value_Storage::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 375 Deprecated: Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/freemius/includes/managers/class-fs-key-value-storage.php on line 389 Deprecated: Optional parameter $message declared before required parameter $args is implicitly treated as a required parameter in /home/a2076/public_html/xxx/wp-content/plugins/wp-twilio-core/helpers.php on line 109
Thanks for the heads up.
They all come from third party SDK of Freemius, I am going to update immediately
Hey @spartac,
Any thoughts on when this may be resolved? Your changelog does not yet reflect a fix for this.
Thank you!
Please update to 1.5.0 and let me know if the errors keep appearing
Hey @spartac,
Excellent job!
Our environment: WP 6.1.1 | PHP 8.2.4
After your update, V1.5.0, we identified only one (1) PHP deprecated notice. That is awesome. Following these instructions, this is what we identified (minor).
Summary: https://prnt.sc/0dFb267t4SZc
Details: https://prnt.sc/plo8Ci_QsYkBResolved. Thank you ??
- The topic ‘Plugin Compatibility with PHP 8.1.9 and WP 6.0.1’ is closed to new replies.