Closed robmeijerink closed 1 year ago
That's all that seems to be required for fixing the backend (while WP_DEBUG is true). However, there are more deprecation notices (Dynamic Properties are deprecated) in the frontend, which prevents images from being served. The following fixes them:
In lib\classes\ImageRoots.php
class ImageRoots
{
private $imageRootsDef;
private $imageRoots;
...
}
In lib\classes\ImageRoot.php
class ImageRoot
{
private $imageRootDef;
public $id;
...
}
Since you've already created a PR, could you also add these in the hope that the author picks it up. Thanks, Luca
Released as 0.25.7
In PHP 8.2 activating this plugin will give a white screen of death. This PR fixes the bug and restores the plugin's functionality.