Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
sadams101 Posted February 22, 2022 Posted February 22, 2022 After upgrading to PHP 8.1 I am suddenly getting the errors below. My directories are 755 permissions, and haven't changed. I use Redis Caching Any ideas? Data Storage Not Working Data Storage is not working correctly. Review your data storage configuration and adjust the settings as needed to improve speed and performance of your community. Cache Not Working Caching is not working correctly. Review your caching method configuration and adjust the settings as needed.
Jim M Posted February 22, 2022 Posted February 22, 2022 PHP 8.1 is not yet fully supported so you will want to downgrade to 8.0.
Solution Daniel F Posted February 22, 2022 Solution Posted February 22, 2022 15 minutes ago, sadams101 said: After upgrading to PHP 8.1 I am suddenly getting the errors below. My directories are 755 permissions, and haven't changed. I use Redis Caching Any ideas? Data Storage Not Working Data Storage is not working correctly. Review your data storage configuration and adjust the settings as needed to improve speed and performance of your community. Cache Not Working Caching is not working correctly. Review your caching method configuration and adjust the settings as needed. Is the redis module enabled and is the installed module compatible with php8.1
sadams101 Posted February 22, 2022 Author Posted February 22, 2022 It was enabled when I switched yesterday to 8.1, then saw the errors today. After reverting back to PHP 8.0.15 I am still seeing this error...I cleared the ACP cache, not sure why: Cache Not Working Caching is not working correctly. Review your caching method configuration and adjust the settings as needed.
sadams101 Posted February 22, 2022 Author Posted February 22, 2022 So I logged out of ACP, then back in, and the error is gone now. When will you support PHP 8.1? It is faster than 8.0 or 7.4.
Jim M Posted February 22, 2022 Posted February 22, 2022 1 minute ago, sadams101 said: When will you support PHP 8.1? There is no deadline at this time but we do have it on our list.
IveLeft... Posted February 22, 2022 Posted February 22, 2022 I was running with PHP 8.1 with no problems using Redis v=6.2.6
sadams101 Posted February 22, 2022 Author Posted February 22, 2022 20 minutes ago, Muddy Boots said: I was running with PHP 8.1 with no problems using Redis v=6.2.6 Any reason you're not currently doing that?
IveLeft... Posted February 22, 2022 Posted February 22, 2022 Just now, sadams101 said: Any reason you're not currently doing that? Well it was all going fine, no problems, but after reading here it wasn't compatible (I missed that when I installed 4.6.x) I reverted back to 8.0.x as I like an easy life...... sadams101 1
sadams101 Posted February 23, 2022 Author Posted February 23, 2022 The source of my issue was that I did not have Redis properly installed on PHP 8.1. I took care of this issue, so I'm curious to run PHP 8.1. Are there any known issues when running PHP 8.1 with the latest version of IPB? On 2/22/2022 at 9:48 AM, Jim M said: PHP 8.1 is not yet fully supported so you will want to downgrade to 8.0. Can you please explain what you mean here by "not yet fully supported"?
Jim M Posted February 23, 2022 Posted February 23, 2022 Just now, sadams101 said: Can you please explain what you mean here by "not yet fully supported"? We have not done compatibility testing. Therefore, things may work but if you run into an issue as you've done here, our advisement would be to downgrade as we investigate the issue. sadams101 1
sadams101 Posted February 23, 2022 Author Posted February 23, 2022 Thank you. I assume that others are running PHP 8.1 at this point. My plan is to try it again and keep an eye on my error logs to make sure all works ok.
Marc Posted February 24, 2022 Posted February 24, 2022 10 hours ago, sadams101 said: Thank you. I assume that others are running PHP 8.1 at this point. My plan is to try it again and keep an eye on my error logs to make sure all works ok. There are issues with PHP 8.1, so I would advise against it until we have gone through the code and made it compatible
IveLeft... Posted February 24, 2022 Posted February 24, 2022 56 minutes ago, Marc Stridgen said: There are issues with PHP 8.1, so I would advise against it until we have gone through the code and made it compatible Tiem Frame ?
Marc Posted February 24, 2022 Posted February 24, 2022 14 minutes ago, Muddy Boots said: Tiem Frame ? There is no time frame I can provide at present, however the software works on 8.0. There really is no need to be rushing to switch to 8.1. Ut was released only a short time ago, so does need to be fully gone through before we would be able to release onto that version
sadams101 Posted February 24, 2022 Author Posted February 24, 2022 But if there are no PHP errors when running it, then it is compatible. PHP writes new versions to be backwards compatible, and in some instances they remove deprecated code that is no longer compatible--this causes errors and things to break if you still use such code. I guess what I'm saying is that if nothing breaks, and there are no errors, then what would be the concern with running it now? PS - There were tons of issues for me running PHP 8.0, and I had to upgrade many custom plugins and apps. Besides the cache issue, which turned out to be a problem with my Redis installation on PHP 8.1, I have not seen any errors at all when running PHP 8.1. IveLeft... 1
Marc Posted February 25, 2022 Posted February 25, 2022 We have not yet gone through our own code and tested this. Whether or not you use it is entirely up to yourself, but we cannot advise on this until we have checked, and if you encounter issues you would need to revert that before we would be able to issue support. In short, if you are asking if it should, then yes probably. If you are asking if I can guarentee this, the answer would be no. Not until we have stated the software to work with that version Jim M and LiquidFractal 2
Recommended Posts