What's the calendar for providing support for PHP 8.1? You have migrated the core product but the plugins are not all compatible.
As PHP 7.4 support ends Nov 28 2022 this gives us just 14 days to update the plugins.
I am getting a few warnings, but the worst problem is with the tiny MCE editor: the formatting bar is no longer there and replying to a comment shows actual HTML code and not the actual formatting.
On the simple press website I am seeing the tiny MCE bar so you must also be running PHP7.4 and be in the same boat as me!
Updates for plugins are now available. But there were no changes needed for the tinymce editor as far as we could tell.
It is possible that there's a JS conflict under php 8 that doesn't show up in 7.4 but that would be unusual. When in php 8, do you see errors in your browser console with the tinymce editor active?
Thanks for the updates on the other plugins.
Regarding Tinymce after much searching I found a detail:
Running PHP 7.4 I get the following warning in the console:
it's this file:
But all works fine.
The warning is no longer there in PHP 8.1.13 but the bug reported at the top of this thread is there.
I tried disabling the TinyMCE SimplePress plugin but this causes a problem even with PHP 7.4:
when replying to a user with the quote function, users see html code in the reply box (blockquote, img title, strong...) instead of formatted text. Like they were getting with PHP 8.1
If you disable TinyMCE then, yes, you're back to a plain text box for the editor and using the quote function will show the embedded HTML from the message being quoted.
I created a new website, added Simple:Press and then enabled the latest TinyMCE editor. I could not reproduce the issue you're describing.
Is it possible that there is a new conflict between Simple:Press and your theme or one of your plugins? Sometimes updates introduces new conflicts between things that weren't there before.
thank you for the answer.
Yes, I understand there must be a conflict somewhere.
I disabled almost all my plugins, and I reverted back to standard Reboot Theme 2.3 and then barebones 2.1.3. But the problem is still there, in PHP 8.0 and 8.1.
I see some warnings in my apache logs on several sp php files (Trying to access array offset on value of type bool...) When I have more time I will continue searching.
@Blaise, just to add that your are not alone, I have exact the same problem with PHP8.0, SP 6.8.1 and all plugins on the last version.
Everything works fine under PHP8.0 except that TinyMCE doesnt work anymore and has "lost" its Menu-Bar. Reverting to PHP 7.4 solves the problem.
As I can live with PHP7.4 for quite some time and am not forced to change, I tend to sit this out, as time-consuming debugging just for this bug is not sensible compared to my other priorities.
But whatever the cause is, it seems to be more common than just your special config. Just saying.
We are also having issues with TinyMCE and PHP 8.0/8.1. Reverting back to 7.4 brings it back.. but this isn't an ideal situation. Our members and staff are used to TinyMCE for formatting responses, links, etc. SimplePress is the only outstanding plug-in on our site preventing us from upgrading to PHP 8.1.
When will this be fixed?
Full support for PHP 8.0, then 8.1 and 8.2 is currently our top priority.
We have managed to recreate the bug with TinyMCE and PHP 8 and I think we have a solution. We still have some more testing to do and it takes some work to create and release a new version, but we hope to release it during next week.
Please let us know of any other PHP 8 issues you encounter.
We just released an update that should fix the issue with TinyMCE on PHP 8.0. Please let us know if you still experience any TinyMCE issues after the update.