Developer Area/PHP8/Upgrade to PHP8
From Mahara Wiki
< Developer Area | PHP8
As things are discovered, please add them to this table. We can use this as a starting point.
Issue | Description | Occurrences* | Potential solutions |
---|---|---|---|
->getClass() |
Class reflection deprecated | 101 | https://www.amitmerchant.com/the-get-class-alternative-in-php8/#:~:text=Using%20%3A%3Aclass%20on%20objects,of%20get_class()%20like%20so. |
Passing null as an object is no longer allowed |
*Roughly