Jump to content

Featured Replies

Posted

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.

Solved by Daniel F

Go to solution
  • Community Expert

PHP 8.1 is not yet fully supported so you will want to downgrade to 8.0.

  • Solution
 

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 

  • Author

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.
  • Author

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. 

  • Community Expert
 

When will you support PHP 8.1?

There is no deadline at this time but we do have it on our list.

I was running with PHP 8.1 with no problems using Redis v=6.2.6

 

  • Author
 

I was running with PHP 8.1 with no problems using Redis v=6.2.6

 

Any reason you're not currently doing that? 

 

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......

  • Author

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? 

 

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"?

  • Community Expert
 

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.

  • Author

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. 

  • Community Expert
 

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

 

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 ?

  • Community Expert
 

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

  • Author

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.

  • Community Expert

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

Recently Browsing 0

  • No registered users viewing this page.