NextGEN Gallery makes extensive use of PHP Magic Methods to encapsulate our various data models.
The latest releases of PHP, versions 7.1.12 and 7.0.26, include some changes how reference counting of strings is conducted in the __get() magic method that is breaking NextGEN and various WordPress sites. The problem is reproducible using standard PHP code, where both a subclass and it’s parent are using the __get() magic method, and are defined to return-by-reference.
A patch and commit has been accepted into the PHP source code repository but hasn’t yet been released or distributed.
More information may be found here, specifically in the comments: https://bugs.php.net/bug.php?id=75573
We strongly recommend rolling back to an earlier version of PHP to resolve these issues created by this PHP bug. Please contact your web hosting service provider for assistance with this process.
Please do not reply to this message. If you have any additional questions or concerns please start your own topic so we can try to help you with your specific issue on your specific site.
- The topic ‘PHP versions 7.0.26 and 7.1.12 known issue’ is closed to new replies.