Boilerplate_XH

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

deeseecee
Posts: 53
Joined: Tue Jan 22, 2013 1:22 pm
Location: Bochum, Germany

Re: Boilerplate_XH

Post by deeseecee » Fri Mar 13, 2015 1:58 pm

OK, I just thought of getting rid the information in the 'update check'. But you're right, some information is missing then. Thank you for providing the patch.

olape
Posts: 743
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: Boilerplate_XH

Post by olape » Sat Jan 05, 2019 2:05 pm

PHP 7.2

Code: Select all

DEPRECATED: Methods with the same name as their class will not be constructors in a future version of PHP; Boilerplate_Model has a deprecated constructor
/home/.../plugins/boilerplate/classes/model.php:25

cmb
Posts: 13016
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Boilerplate_XH

Post by cmb » Sat Jan 05, 2019 3:16 pm

olape wrote:
Sat Jan 05, 2019 2:05 pm

Code: Select all

DEPRECATED: Methods with the same name as their class will not be constructors in a future version of PHP; Boilerplate_Model has a deprecated constructor
/home/.../plugins/boilerplate/classes/model.php:25
Ui, da besteht insgesamt einiger Nachholbedarf. Quick-Fix für diesen Fall: einfach diese Zeile ersetzen durch:

Code: Select all

    function __construct($dataFolder)
Christoph M. Becker –Plugins for CMSimple_XH

olape
Posts: 743
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: Boilerplate_XH

Post by olape » Sat Jan 05, 2019 5:03 pm

cmb wrote:
Sat Jan 05, 2019 3:16 pm
Ui, da besteht insgesamt einiger Nachholbedarf. Quick-Fix für diesen Fall: einfach diese Zeile ersetzen durch:

Code: Select all

    function __construct($dataFolder)
Die Warnung ist erst mal weg und funktioniert hat ja alles und tut es auch jetzt noch.
Danke

Post Reply