Support » Plugin: NextCellent Gallery - NextGEN Legacy » Deprecated: Methods / Constructors – future php versions

  • Resolved michaelsam


    i installed a debug plugin and it showed me this
    i changed all constructor functions in the classes to __construct and this informations has been solved

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
    nggLoader has a deprecated constructor in wp-content/plugins/nextcellent-gallery-nextgen-legacy/nggallery.php on line 54
    nggImage has a deprecated constructor in wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/image.php on line 9
    nggMeta has a deprecated constructor in wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/meta.php on line 12
    nggRewrite has a deprecated constructor in wp-content/plugins/nextcellent-gallery-nextgen-legacy/lib/rewrite.php on line 14
    add_nextgen_button has a deprecated constructor in wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/tinymce/tinymce.php on line 12

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPReady


    Thanks for pointing out.
    That is already fixed and it will be published in the next version.

    @wpready Is there an estimate on when the next version will be available? I’m running into the same issue as this.


    Plugin Author WPReady


    The problem is, according with WordPress new enforced best practices, there are quite a few issues to fix in the plugin. Deprecation issues are very easy to fix. However there are other potential issues and they were since Nextcellent is supported.

    But now rules are changed for every plugin developer, meaning that legacy code with bad implementation needs to be corrected or it will be banned. I completely agree with that, however it implies a lot of work.

    And this without mention WP itself had its own obscured bugs, preventing Nextcellent working properly, check this link

    An attempt to make a quick fix rendered the plugin barely usable (1.9.32), with many additional issues.

    A rewriting for the plugin is in progress (mostly AJAX calls). I’m expecting to deliver the plugin this week, but that implies a LOT of fixes, and a LOT of testing and I have limited resources to invest in the development.

    Since this is a work in progress, I prefer posting the progress in the forum, until I reach a stable point.

    No problem, thanks for getting back so quickly!



    Ok, thanks for the update!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deprecated: Methods / Constructors – future php versions’ is closed to new replies.