• Resolved ispreview

    (@ispreview)


    I’m not a PHP coder, but I got so tired of waiting for NextGen Gallery to fix the most basic of PHP 8.4 deprecations that I learnt and did it myself:

    /wp-content/plugins/nextgen-gallery/src/DataMapper/Model.php on line 13

    Change:

    public function __construct( \stdClass $object = null ) {

    To:

    public function __construct(?\stdClass $object = null) {


    /wp-content/plugins/nextgen-gallery/src/Display/View.php on line 108

    Change:

    public function get_template_abspath( string $template = null ): string {

    To:

    public function get_template_abspath(?string $template = null): string {
Viewing 1 replies (of 1 total)
  • Plugin Support Will Derichsweiler

    (@williamdersh)

    Hey @ispreview ,

    Thanks for reaching out and sharing this fix.

    I’ve passed these details along to the team to review as we continue to make improvements to the plugin.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Fixed PHP 8.4 Deprecated Warnings’ is closed to new replies.