Support » Plugin: Categories in Hierarchical Order » Need to fix deprecated constructor method

  • Resolved onebc


    After installing this plugin when using PHP7 you get the following warning:

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ftChangeTaxonomyCheckboxlistOrder has a deprecated constructor in /Users/joebloggs/Sites/ on line 14

    This can be resolved locally by changing line 14 from:

    function ftChangeTaxonomyCheckboxlistOrder(){


    function __construct(){

    However, this change would obviously be lost upon the next update. Can you include this in the next update?

    • This topic was modified 10 months ago by  onebc.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to fix deprecated constructor method’ is closed to new replies.