Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning with PHP 8.3.6 #711

Open
essekia opened this issue May 8, 2024 · 1 comment · May be fixed by #713
Open

Warning with PHP 8.3.6 #711

essekia opened this issue May 8, 2024 · 1 comment · May be fixed by #713

Comments

@essekia
Copy link

essekia commented May 8, 2024

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

@mralaminahamed
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants