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
PHP 8.1 Deprecation #570
Comments
Fixed in facebook/facebook-business-sdk-codegen#50 Once the codegen files get imported into this repo, the issue will be resolved. |
How can I resolve it vai composer ? |
Since it's ultimately a fix from another repo, I'd probably tackle it by using patches. If you wanted a purely composer way to do it, I'd probably recommend https://github.com/cweagans/composer-patches |
The latest version has fixed this issue. Thanks. |
Facebook PHP Business SDK Issue
Since we want to handle bugs more efficiently, we've decided to close issue reporting in Github and move to our dedicated bug reporting channel.
If you encounter a bug with Business SDK (PHP), please report the issue at our developer bug reporting channel.
At this file src/FacebookAds/Object/AbstractCrudObject.php
inside the __constructor you are using default valuue "null" for $id that throwing php 8.1 error while trying execute strpos() on null on Line 64
Please change the default vlaue to empty string I guess
thanks alot
The text was updated successfully, but these errors were encountered: