wordpress-sdk icon indicating copy to clipboard operation
wordpress-sdk copied to clipboard

Warning with PHP 8.3.6

Open essekia opened this issue 9 months ago • 1 comments

I have this warning when I switched to php 8.3.6. My WordPress version is 6.5.2

Warning: Attempt to read property "id" on array in plugins/helpie-faq/vendor/pauple/pluginator/src/Library/freemius/includes/managers/class-fs-plugin-manager.php on line 128

essekia avatar May 08 '24 11:05 essekia

I have submitted a pull request to address the 'Attempt to read property on array' warning that occurs when using the Freemius WordPress SDK with PHP 8.3.6 and WordPress 6.5.2.

The proposed changes ensure proper handling of the $module variable in the load method to prevent the warning. I have tested the fix locally, and all existing tests continue to pass.

mralaminahamed avatar May 12 '24 14:05 mralaminahamed