Actions

Developer Area/PHP8/Upgrade to PHP8

From Mahara Wiki

< Developer Area‎ | PHP8
Revision as of 13:00, 18 Ocak 2022 by Dianne.tennent (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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