Hi,
> Deprecated: Methods with the same name as their class will not be constructors in a future version
> of PHP It then lists gb_admin has a deprecated constructor in \lib\admin.class.php on line 14
It is not very difficult to correct.
If there is in a class a "construct" function name with the same name as the class, like this:
class DBLayer {
var $prefix;
....
function DBLayer($db_host, $db_username, $db_password, $db_name, $db_prefix ...
You have to replace the name of the construct function by __construct, like this:
class DBLayer {
var $prefix;
....
function __construct($db_host, $db_username, $db_password, $db_name, $db_prefix ...
------------------------------------------------------------------------------------------------------------
Wampserver 3.1.7 32 bit - Apache 2.4.38 - PHP 7.3.2/7.2.15/7.1.26/7.0.33/5.6.40 - MySQL 5.7.25 - MariaDB 10.3.12
Wampserver 3.1.7 64 bit - Apache 2.4.38 - PHP 7.3.2/7.2.15/7.1.26/7.0.33/5.6.40 - MySQL 5.7.25/8.0.14 - MariaDB 10.3.12
PhPMyadmin 4.8.5 - MysqlDumper 1.24.5 on W10 and W7 Pro 64 bit
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »