-
Notifications
You must be signed in to change notification settings - Fork 339
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/8.2 Compatibility #12011
Comments
This comment was marked as resolved.
This comment was marked as resolved.
We should consider a "maximum" php version, because the deprecation notice is impossible to fix with our current base-version. The type "mixed" isn't supported yet ;-) |
We can use the special attribute |
This comment was marked as off-topic.
This comment was marked as off-topic.
@MrPetovan ok, I will do so from now on. One question, do you have a idea why avatars are often not shown? I have this since the update and it is annoying. Another problem is I can not follow any new users anymore, it will instead follow the .rss of the account, which is also really annoying. |
Which update? The last stable version isn't so stable, the |
I was going to ask that as well, so the current dev is better than the last stable I guess, I will switch if you say so. Also where should I share these Deprecated errors then? In the Warnings issue? |
Deprecation errors go here because they are related to PHP 8, non-Deprecation errors go over there. |
This comment was marked as resolved.
This comment was marked as resolved.
Thank you, this is very helpful! |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Done. |
This comment was marked as outdated.
This comment was marked as outdated.
So, it looks like you submitted several that should have been fixed in #12221 and friendica/friendica-addons#1315, please make sure you wipe out your log so that you don't submit duplicates. The second list belongs here but isn't very useful without the earlier lines of the message, see #12011 (comment) for an example of complete output. |
ah sorry, my bad. I will update above after.
Hmm for that other thing I am confused, I think the sed cuts off the lines, because it seems this "attribute should be used to temporarily suppress the notice " is always part of a "Deprecated" line, right? |
Yes but it’s leaving out several details useful to fix them, I was guessing the message was multi-line on your system. |
no, the sed breaks the lines I think, asked on Friendica for some help to improve the sed command. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
…ib2_compat - Add missing use statement in SecureTestEmail - Hopefully address friendica/friendica#12011 (comment)
For the follow issue, can you please check if it's the same problem with the system account as in this issue: #12185 |
This comment was marked as resolved.
This comment was marked as resolved.
We should be doing a hotfix release soon, so it's unlikely this deprecation notice will be addressed in the upcoming release. |
Latest stable running. Server 1:
That 21132502 times are just for today, so the error in that line occurred 21132502 within the last 15h30m. PHP: 8.2.5 It is taking a toll on my system now, often pages don't load. Server 2:
PHP: 8.2.5 Not sure why server 2 looks different. |
That's a new one for sure. |
Are there any compatibility issues any more? I'm running with 8.2 on my machines and I haven't got any issues. |
only these:
leading number is how often the message is found in the logs today. PHP: 8.2.12 |
We still don't have a good solution for
This was fixed in October 20th in https://git.friendi.ca/friendica/friendica-addons/pulls/1431, please pull the |
…rmForEachWordMatch - Address part of friendica#12011 (comment)
This comment was marked as resolved.
This comment was marked as resolved.
I'm on 2023.12
My hoster allow to to request for lower php versions. Do I have to do it? [EDIT] bin/composer.phar install --no-dev
|
Thank you for the report, I’d recommend you disable the HTML display of PHP error messages. Not sure how you can change individual php.ini configuration keys in your hoster setup but you’re looking to set the And the Composer deprecation warning is irrelevant (for now). |
Also since Update on my Android in the app fedilab posting not work anymore. |
This is unlikely to be related to a PHP 8 deprecation issue. |
@MrPetovan |
So it was related after all! |
If you're running PHP 8.1 and higher, please post here your PHP Deprecated notices.
The text was updated successfully, but these errors were encountered: