- Issue created by @aravindkrishna
- ๐ฌ๐งUnited Kingdom longwave UK
Is this the same as ๐ module_implements works differently for php 7 and php 8 Closed: duplicate ?
This almost seems like the reporterโs PHP 8 build has disabled language features, or some other platform issue on their end.
- ๐ฎ๐ณIndia aravindkrishna
Is there a list of configuration changes that needs to be done for PHP 8.1 when moving from PHP 7.3 ?
- Status changed to Postponed: needs info
over 1 year ago 3:31pm 5 August 2023 - ๐ธ๐ฐSlovakia poker10
Thanks for reporting this.
I am personally using Entity module on multiple D7 sites on PHP 8.1 without any problems (no extra configuration needed). Please ensure that you have updated D7 core to the latest version and also all used contrib modules to their latest versions (if you are using some less common modules, probably you would have to apply some patches manually to fix all PHP 8.1 issues). If you have any PHP 8.1 deprecations displayed, these can cause unexpected behavior of the site (for example I saw some tokens missing, etc..), so it can be related. It would be also helpful to check logs (Drupal / server) if there are any errors / problems, to help debugging this.
If you have updated all modules and core correctly, please provide more information, how to simulate this on clean Drupal 7 + Entity module (e.g. steps to reproduce). Thanks!
- ๐ต๐ฑPoland netmachina
The same problem is with for example metatag module (tested on PHP 8.2).
I have checked recent versions and between version 7.92 and 7.93 something happened, that causes that error.I will try to look for that and give you feedback.